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