summaryrefslogtreecommitdiff
path: root/systemd/temphumd.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/temphumd.service')
-rw-r--r--systemd/temphumd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/temphumd.service b/systemd/temphumd.service
new file mode 100644
index 0000000..1da9617
--- /dev/null
+++ b/systemd/temphumd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=temperature and humidity daemon
+After=network-online.target
+
+[Service]
+Restart=on-failure
+ExecStart=/home/user/homekit/src/temphumd.py --config /etc/temphumd.toml
+
+[Install]
+WantedBy=multi-user.target