summaryrefslogtreecommitdiff
path: root/systemd/sound_node.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/sound_node.service')
-rw-r--r--systemd/sound_node.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/sound_node.service b/systemd/sound_node.service
new file mode 100644
index 0000000..9d47a4f
--- /dev/null
+++ b/systemd/sound_node.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=MyHomeKit Sound Node (ALSA HTTP Frontend)
+After=network-online.target
+
+[Service]
+User=root
+Group=root
+Restart=on-failure
+ExecStart=/home/user/homekit/src/sound_node.py --config /etc/sound_node.toml
+WorkingDirectory=/root
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file