summarylogtreecommitdiffstats
path: root/hacompanion.service
diff options
context:
space:
mode:
authorZach Himsel2023-01-31 11:28:20 -0500
committerZach Himsel2023-01-31 11:29:19 -0500
commit800c07b67eb84cd5f3179a57553194c4e18a3c6d (patch)
treef9f49ee12d46d60479acd04c0b37fb9dab2714c9 /hacompanion.service
downloadaur-800c07b67eb84cd5f3179a57553194c4e18a3c6d.tar.gz
Initial commit (v1.0.5)
Diffstat (limited to 'hacompanion.service')
-rw-r--r--hacompanion.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/hacompanion.service b/hacompanion.service
new file mode 100644
index 000000000000..47486e4875d6
--- /dev/null
+++ b/hacompanion.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Daemon that sends local hardware information to Home Assistant
+After=network.target
+
+[Service]
+User=hacompanion
+Group=hacompanion
+ExecStart=/usr/bin/hacompanion -config /etc/hacompanion/config.toml
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target