2023-12-01 18:00:11 +08:00
|
|
|
[program:data_upload]
|
2023-12-01 15:26:03 +08:00
|
|
|
directory=/home/lihai/PycharmProjects/pythonProject/lot_manager
|
2023-12-01 18:00:11 +08:00
|
|
|
command=/home/lihai/anaconda3/envs/chatchat/bin/python ceshi.py
|
2023-12-01 15:26:03 +08:00
|
|
|
user=lihai
|
|
|
|
;是否随开机自启 或者reload自启动
|
2023-12-01 18:00:11 +08:00
|
|
|
autostart=true
|
2023-12-01 15:26:03 +08:00
|
|
|
;失败重启
|
|
|
|
autorestart=true
|
|
|
|
;重启次数
|
|
|
|
restart_times=3
|
|
|
|
redirect_stderr=true
|
|
|
|
stopsignal=TERM
|
|
|
|
stopasgroup=True
|