This commit is contained in:
xyj 2023-12-01 15:26:03 +08:00
parent 4527bbf232
commit b6aa06f5cd
2 changed files with 13 additions and 0 deletions

Binary file not shown.

13
conf/test2.conf Normal file
View File

@ -0,0 +1,13 @@
[program:test2]
directory=/home/lihai/PycharmProjects/pythonProject/lot_manager
command=/home/lihai/anaconda3/envs/chatchat/bin/python test.py
user=lihai
;是否随开机自启 或者reload自启动
autostart=false
;失败重启
autorestart=true
;重启次数
restart_times=3
redirect_stderr=true
stopsignal=TERM
stopasgroup=True