Supervisor简单使用

sin 2025-09-23 AM 125℃ 1条

安装

dnf install supervisor
systemctl start supervisord
systemctl enable supervisord

增加配置文件

增加stepin程序的配置文件 /etc/supervisord.d/stepin.ini

[program: stepin]
command=java -jar stepin-0.0.1-SNAPSHOT.jar
directory=/home/deploy/
autorestart=true 
autostart=true
stderr_logfile=/home/deploy/logs/err.log
stdout_logfile=/home/deploy/logs/out.log
user=root
stopsignal=INT
startsecs=1

常用命令

supervisorctl start stepin
supervisorctl restart stepin
supervisorctl status stepin
supervisorctl stop stepin
标签: none

非特殊说明,本博所有文章均为博主原创。

上一篇 组播与UDP
下一篇 ComfyUI文生图

评论啦~



唉呀 ~ 仅有一条评论


  1. 鍗庣撼鍏徃鍚堜綔寮€鎴锋墍闇€鏉愭枡锛熺數璇濆彿鐮?5587291507 寰俊STS5099
    鍗庣撼鍏徃鍚堜綔寮€鎴锋墍闇€鏉愭枡锛熺數璇濆彿鐮?5587291507 寰俊STS5099

    果博东方客服开户联系方式【182-8836-2750—】?薇- cxs20250806】
    果博东方公司客服电话联系方式【182-8836-2750—】?薇- cxs20250806】
    果博东方开户流程【182-8836-2750—】?薇- cxs20250806】
    果博东方客服怎么联系【182-8836-2750—】?薇- cxs20250806】

    回复 2025-11-09 06:25