From eb502ab9c94cc8a89a29f9310e2f56404b432053 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 8 Jun 2022 22:01:22 +0300 Subject: ipcam: rewrite motion detection system --- systemd/ipcam_server.service | 13 +++++++++++++ systemd/sound_bot.service | 2 +- systemd/sound_node.service | 2 +- systemd/sound_sensor_node.service | 2 +- systemd/sound_sensor_server.service | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 systemd/ipcam_server.service (limited to 'systemd') 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] -- cgit v1.2.3