diff options
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/ipcam_capture@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/ipcam_capture@.service b/systemd/ipcam_capture@.service new file mode 100644 index 0000000..e87e09c --- /dev/null +++ b/systemd/ipcam_capture@.service @@ -0,0 +1,13 @@ +[Unit] +Description=save ipcam streams +After=network-online.target + +[Service] +Restart=always +User=user +Group=user +EnvironmentFile=/etc/ipcam_capture.conf.d/%i.conf +ExecStart=/home/user/homekit/tools/ipcam_capture.sh --outdir $OUTDIR --creds $CREDS --ip $IP --port $PORT $ARGS + +[Install] +WantedBy=multi-user.target |