added systemd file for aqhome-react.
This commit is contained in:
@@ -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
16
etc/aqhome-react.service
Normal 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
|
||||
Reference in New Issue
Block a user