2023-12-05 16:21:08 +08:00
|
|
|
[program:sensor_to_local]
|
2023-12-07 15:57:24 +08:00
|
|
|
directory=/home/pi/lot_manager/src
|
2023-12-08 14:16:59 +08:00
|
|
|
command=/usr/bin/python sensor_to_local.py
|
2023-12-05 16:21:08 +08:00
|
|
|
user=pi
|
|
|
|
;是否随开机自启 或者reload自启动
|
|
|
|
autostart=false
|
|
|
|
;失败重启
|
|
|
|
autorestart=true
|
|
|
|
;重启次数
|
|
|
|
restart_times=3
|
|
|
|
redirect_stderr=true
|
|
|
|
stopsignal=TERM
|
|
|
|
stopasgroup=True
|