14 lines
269 B
Plaintext
14 lines
269 B
Plaintext
|
[program:data_upload]
|
||
|
directory=/home/pi/lot_manager
|
||
|
command=/usr/bin/python ceshi.py
|
||
|
user=pi
|
||
|
;是否随开机自启 或者reload自启动
|
||
|
autostart=true
|
||
|
;失败重启
|
||
|
autorestart=true
|
||
|
;重启次数
|
||
|
restart_times=3
|
||
|
redirect_stderr=true
|
||
|
stopsignal=TERM
|
||
|
stopasgroup=True
|