supervisor进程管理工具与yearning

2022-06-23  本文已影响0人  与狼共舞666

参见https://zhuanlan.zhihu.com/p/147305277
https://zhuanlan.zhihu.com/p/98097523?from_voters_page=true

; /etc/supervisord.d/Yearning.ini
;
[program:yearning]
command = /lvmdata/Yearning-go/Yearning -s -b "*.*.*.*"
directory = /lvmdata/Yearning-go
autostart = true
autorestart = true
user = root
startsecs = 5

redirect_stderr = true
stdout_logfile_maxbytes = 200MB
stdout_logfile_backups  = 10
stdout_logfile = /lvmdata/Yearning-go/yearning.log
上一篇下一篇

猜你喜欢

热点阅读