summaryrefslogtreecommitdiff
path: root/systemd/ipcam_capture@.service
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-06-01 23:04:34 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-01 23:04:34 +0300
commit133d0e8babe07c6905520fd83fe75303045dc42d (patch)
tree2be467983923d20e766be8ce800cf248efdf783f /systemd/ipcam_capture@.service
parentc178d4320999bf884f4c3ed2841d115d7f31e75c (diff)
systemd/ipcam_capture@.service: add restart
Diffstat (limited to 'systemd/ipcam_capture@.service')
-rw-r--r--systemd/ipcam_capture@.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/ipcam_capture@.service b/systemd/ipcam_capture@.service
index e87e09c..9196613 100644
--- a/systemd/ipcam_capture@.service
+++ b/systemd/ipcam_capture@.service
@@ -8,6 +8,8 @@ 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
+Restart=always
+RestartSec=2
[Install]
WantedBy=multi-user.target