Improved systemd scripts.
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
Description=AqHome MQTT Log
|
||||
DefaultDependencies=no
|
||||
Wants=aqhome-data.service
|
||||
StartLimitIntervalSec=500
|
||||
StartLimitBurst=5
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
RemainAfterExit=no
|
||||
ExecStart=/usr/local/sbin/aqhome-mqttlog -p /var/run/aqhome-mqttlog.pid -T 0
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user