参见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
网友评论