From e3d3d6b76010a6dd5c417f017339bec17fb07887 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 14 Jun 2022 02:44:43 +0300 Subject: media: refactor sound_node, introduce camera_node --- systemd/camera_node.service | 13 +++++++++++++ systemd/camera_node@.service | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 systemd/camera_node.service create mode 100644 systemd/camera_node@.service (limited to 'systemd') 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 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 -- cgit v1.2.3