2023-12-02 10:53:31 +08:00
|
|
|
[program:data_upload]
|
2023-12-08 14:33:44 +08:00
|
|
|
directory=/home/pi/lot_manager
|
2023-12-08 14:16:59 +08:00
|
|
|
command=/usr/bin/python data_upload.py
|
2023-12-02 10:53:31 +08:00
|
|
|
user=pi
|
|
|
|
;是否随开机自启 或者reload自启动
|
|
|
|
autostart=true
|
|
|
|
;失败重启
|
|
|
|
autorestart=true
|
2024-01-06 16:37:21 +08:00
|
|
|
;重启次数
|
|
|
|
restart_times=3
|
2023-12-02 10:53:31 +08:00
|
|
|
redirect_stderr=true
|
|
|
|
stopsignal=TERM
|
|
|
|
stopasgroup=True
|