diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-24 22:26:02 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-24 23:18:11 +0300 |
commit | c75812751eaa50cd6ea005dd6ca3c1a39c4d74dc (patch) | |
tree | 0c919c6cbd7e0f50af361dea94a2004958498ff4 /systemd | |
parent | 00427d1b252474abde7de40588688ec2cea99185 (diff) |
ipcam_capture stuff
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 |