summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-05-31 09:48:29 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-05-31 09:48:29 +0300
commitf59c9eac00b4908bcf51ae96a7f72a01e0e435df (patch)
treee3609c5a77257a86294ec28a8220c77a42787635 /systemd
parentc976495222858c4921454c9294ff73794ae56277 (diff)
try upgrading pump_bot
Diffstat (limited to 'systemd')
-rw-r--r--systemd/ipcam_rtsp2hls@.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/ipcam_rtsp2hls@.service b/systemd/ipcam_rtsp2hls@.service
index 244a192..4d5e59d 100644
--- a/systemd/ipcam_rtsp2hls@.service
+++ b/systemd/ipcam_rtsp2hls@.service
@@ -8,6 +8,8 @@ User=user
Group=user
EnvironmentFile=/etc/ipcam_rtsp2hls.conf.d/%i.conf
ExecStart=/home/user/homekit/tools/ipcam_rtsp2hls.sh --name %i --user $USER --password $PASSWORD --ip $IP --port $PORT $ARGS
+Restart=on-failure
+RestartSec=3
[Install]
WantedBy=multi-user.target