added example systemd scripts.
This commit is contained in:
12
etc/aqhome-mqttlog.service
Normal file
12
etc/aqhome-mqttlog.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=AqHome MQTT Log
|
||||
DefaultDependencies=no
|
||||
Wants=aqhome-mqttlog.service
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
RemainAfterExit=no
|
||||
ExecStart=/usr/local/bin/aqhome-mqttlog -ma 192.168.117.192 -mp 1883 -W /var/cache/aqhome/mqttlog -i /usr/local/etc/mqttlog.conf -p /var/run/aqhome-mqttlog.pid -T 0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user