summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-16 23:33:43 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-16 23:33:43 +0300
commit6ce04994a52f409b9f435bd22decd308eef5530a (patch)
treef9265062ae6ed680eed53423a315cf49040e8412 /systemd
parent1cdcd1a08d2a3e676b188c573d62d91727c45025 (diff)
systemd: add esp32cam_capture_diff_node unit file
Diffstat (limited to 'systemd')
-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