summaryrefslogtreecommitdiff
path: root/systemd/camera_node@.service
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-14 02:44:43 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-14 22:56:46 +0300
commite3d3d6b76010a6dd5c417f017339bec17fb07887 (patch)
tree42cb6194504ae863db2bf7d21ef9e2acd41d0fd2 /systemd/camera_node@.service
parent600fdf99ffd893857c9cdb9e68140766a963bd17 (diff)
media: refactor sound_node, introduce camera_node
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..414881e
--- /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 --config /home/user/.config/camera_node.%i.yaml
+WorkingDirectory=/home/user
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file