2023-12-05 16:21:08 +08:00
|
|
|
[program:sensor_to_local]
|
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 sensor_to_local.py
|
2023-12-05 16:21:08 +08:00
|
|
|
user=pi
|
|
|
|
;是否随开机自启 或者reload自启动
|
|
|
|
autostart=false
|
|
|
|
;失败重启
|
2023-12-16 10:48:27 +08:00
|
|
|
autorestart=false
|
2023-12-05 16:21:08 +08:00
|
|
|
;重启次数
|
|
|
|
restart_times=3
|
|
|
|
redirect_stderr=true
|
|
|
|
stopsignal=TERM
|
|
|
|
stopasgroup=True
|