summaryrefslogtreecommitdiff
path: root/systemd/ipcam_server.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/ipcam_server.service')
-rw-r--r--systemd/ipcam_server.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/ipcam_server.service b/systemd/ipcam_server.service
index 8897363..07ac95f 100644
--- a/systemd/ipcam_server.service
+++ b/systemd/ipcam_server.service
@@ -5,7 +5,8 @@ After=network-online.target
[Service]
User=user
Group=user
-Restart=on-failure
+Restart=always
+RestartSec=10
ExecStart=/home/user/homekit/src/ipcam_server.py
WorkingDirectory=/home/user