lot_manager/conf/common/sensor_to_server.conf

19 lines
403 B
Plaintext

[program:sensor_to_server]
directory=/home/pi/lot_manager
command=/usr/bin/python sensor_to_server.py
user=pi
;是否随开机自启 或者reload自启动
autostart=true
;失败重启
autorestart=true
;重启次数
restart_times=3
;暂时改一下!!
;启动后60秒没有异常就退出
startsecs=100
; 间隔30秒执行一次任务
interval=20
redirect_stderr=true
stopsignal=TERM
stopasgroup=True