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