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