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