added systemd file for aqhome-react.

This commit is contained in:
Martin Preuss
2024-04-13 00:03:37 +02:00
parent a7267c061a
commit dd133c7368
2 changed files with 17 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
aqhome-data.service
aqhome-mqttlog.service
aqhome-nodes.service
aqhome-react.service
</data>
<data dist="true" install="$(sysconfdir)">

16
etc/aqhome-react.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=AqHome React
DefaultDependencies=no
Wants=aqhome-data.service
StartLimitIntervalSec=30
StartLimitBurst=5
[Service]
Type=exec
RemainAfterExit=no
ExecStart=/usr/local/sbin/aqhome-react -p /var/run/aqhome-react.pid -T 0
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target