diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-06-01 23:04:34 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-06-01 23:04:34 +0300 |
commit | 133d0e8babe07c6905520fd83fe75303045dc42d (patch) | |
tree | 2be467983923d20e766be8ce800cf248efdf783f | |
parent | c178d4320999bf884f4c3ed2841d115d7f31e75c (diff) |
systemd/ipcam_capture@.service: add restart
-rw-r--r-- | systemd/ipcam_capture@.service | 2 |
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 |