lot_manager/conf/common/mqtt.conf

14 lines
270 B
Plaintext
Raw Normal View History

2023-12-02 11:22:34 +08:00
[program:__mqtt__]
2023-12-07 16:51:23 +08:00
directory=/home/pi/lot_manager/src
2023-12-02 11:22:34 +08:00
command=/usr/bin/python MQTT.py
user=pi
;是否随开机自启 或者reload自启动
autostart=true
;失败重启
autorestart=true
;重启次数
2023-12-05 09:08:53 +08:00
restart_times=10
2023-12-02 11:22:34 +08:00
redirect_stderr=true
stopsignal=TERM
stopasgroup=True