diff options
Diffstat (limited to 'systemd')
-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 |