From dd133c73681d23374c06e94d2ddcccb3e5884986 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sat, 13 Apr 2024 00:03:37 +0200 Subject: [PATCH] added systemd file for aqhome-react. --- etc/0BUILD | 1 + etc/aqhome-react.service | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 etc/aqhome-react.service diff --git a/etc/0BUILD b/etc/0BUILD index 28c5ed7..a7b57d1 100644 --- a/etc/0BUILD +++ b/etc/0BUILD @@ -6,6 +6,7 @@ aqhome-data.service aqhome-mqttlog.service aqhome-nodes.service + aqhome-react.service diff --git a/etc/aqhome-react.service b/etc/aqhome-react.service new file mode 100644 index 0000000..130df68 --- /dev/null +++ b/etc/aqhome-react.service @@ -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