This commit is contained in:
xyj 2024-01-06 16:44:52 +08:00
parent fa422302cc
commit c42f47e095
1 changed files with 4 additions and 2 deletions

View File

@ -8,8 +8,10 @@ autostart=true
autorestart=true autorestart=true
;重启次数 ;重启次数
restart_times=3 restart_times=3
startsecs=10 ;启动后60秒没有异常就退出
interval=60 startsecs=60
; 间隔30秒执行一次任务
interval=30
redirect_stderr=true redirect_stderr=true
stopsignal=TERM stopsignal=TERM
stopasgroup=True stopasgroup=True