From 133d0e8babe07c6905520fd83fe75303045dc42d Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 1 Jun 2023 23:04:34 +0300 Subject: systemd/ipcam_capture@.service: add restart --- systemd/ipcam_capture@.service | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3