diff options
Diffstat (limited to 'systemd/ipcam_server.service')
-rw-r--r-- | systemd/ipcam_server.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/systemd/ipcam_server.service b/systemd/ipcam_server.service index 07ac95f..53e588d 100644 --- a/systemd/ipcam_server.service +++ b/systemd/ipcam_server.service @@ -1,5 +1,5 @@ [Unit] -Description=HomeKit IPCam Server +Description=Homekit IPCam Server After=network-online.target [Service] @@ -7,7 +7,8 @@ User=user Group=user Restart=always RestartSec=10 -ExecStart=/home/user/homekit/src/ipcam_server.py +EnvironmentFile=/etc/default/homekit_ipcam_server +ExecStart=/home/user/homekit/bin/ipcam_server.py --listen "$LISTEN" --database-path "$DATABASE_PATH" WorkingDirectory=/home/user [Install] |