diff options
Diffstat (limited to 'systemd/sound_sensor_node.service')
-rw-r--r-- | systemd/sound_sensor_node.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/sound_sensor_node.service b/systemd/sound_sensor_node.service new file mode 100644 index 0000000..595e050 --- /dev/null +++ b/systemd/sound_sensor_node.service @@ -0,0 +1,13 @@ +[Unit] +Description=MyHomeKit Sound Sensor Node +After=network-online.target + +[Service] +User=root +Group=root +Restart=on-failure +ExecStart=/home/user/homekit/src/sound_sensor_node.py --config /etc/sound_sensor_node.toml +WorkingDirectory=/root + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |