Finished systemd service files.

This commit is contained in:
Martin Preuss
2023-10-06 14:02:08 +02:00
parent 7fb4e8b577
commit dcdb512995
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ Wants=network.target
[Service] [Service]
Type=exec Type=exec
RemainAfterExit=no RemainAfterExit=no
ExecStart=/usr/local/sbin/aqhome-data -l /var/log/aqhome.log --datafolder=/var/cache/aqhome-data -p /var/run/aqhome-data.pid ExecStart=/usr/local/sbin/aqhome-data --datafolder=/var/cache/aqhome-data -p /var/run/aqhome-data.pid
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@@ -1,7 +1,7 @@
[Unit] [Unit]
Description=AqHome MQTT Log Description=AqHome MQTT Log
DefaultDependencies=no DefaultDependencies=no
Wants=aqhome-mqttlog.service Wants=aqhome-data.service
[Service] [Service]
Type=exec Type=exec

View File

@@ -6,7 +6,7 @@ Wants=aqhome-data.service
[Service] [Service]
Type=exec Type=exec
RemainAfterExit=no RemainAfterExit=no
ExecStart=/usr/local/bin/aqhome-nodes -p /var/run/aqhome-nodes.pid ExecStart=/usr/local/bin/aqhome-nodes -p /var/run/aqhome-nodes.pid -db /var/cache/aqhome-nodes/aqhome-nodes.db -l /var/log/aqhome-nodes.log
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target