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