summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-08 22:01:22 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-11 19:05:51 +0300
commiteb502ab9c94cc8a89a29f9310e2f56404b432053 (patch)
tree70ec81d40a9fc406960d85773436d3b33a014c7a /systemd
parent1ed87f69878b85daf94cde4c7b187939d9e15778 (diff)
ipcam: rewrite motion detection system
Diffstat (limited to 'systemd')
-rw-r--r--systemd/ipcam_server.service13
-rw-r--r--systemd/sound_bot.service2
-rw-r--r--systemd/sound_node.service2
-rw-r--r--systemd/sound_sensor_node.service2
-rw-r--r--systemd/sound_sensor_server.service2
5 files changed, 17 insertions, 4 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
diff --git a/systemd/sound_bot.service b/systemd/sound_bot.service
index 63bde89..51a9e0f 100644
--- a/systemd/sound_bot.service
+++ b/systemd/sound_bot.service
@@ -1,5 +1,5 @@
[Unit]
-Description=MyHomeKit's Sound Bot for Telegram
+Description=HomeKit Sound Bot for Telegram
After=network-online.target
[Service]
diff --git a/systemd/sound_node.service b/systemd/sound_node.service
index 9d47a4f..e3e3afd 100644
--- a/systemd/sound_node.service
+++ b/systemd/sound_node.service
@@ -1,5 +1,5 @@
[Unit]
-Description=MyHomeKit Sound Node (ALSA HTTP Frontend)
+Description=HomeKit Sound Node (ALSA HTTP Frontend)
After=network-online.target
[Service]
diff --git a/systemd/sound_sensor_node.service b/systemd/sound_sensor_node.service
index 595e050..d10f976 100644
--- a/systemd/sound_sensor_node.service
+++ b/systemd/sound_sensor_node.service
@@ -1,5 +1,5 @@
[Unit]
-Description=MyHomeKit Sound Sensor Node
+Description=HomeKit Sound Sensor Node
After=network-online.target
[Service]
diff --git a/systemd/sound_sensor_server.service b/systemd/sound_sensor_server.service
index f45abed..0133e53 100644
--- a/systemd/sound_sensor_server.service
+++ b/systemd/sound_sensor_server.service
@@ -1,5 +1,5 @@
[Unit]
-Description=MyHomeKit Sound Sensor Central Server
+Description=HomeKit Sound Sensor Central Server
After=network-online.target
[Service]