summarylogtreecommitdiffstats
path: root/unifi-video.service
diff options
context:
space:
mode:
Diffstat (limited to 'unifi-video.service')
-rw-r--r--unifi-video.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/unifi-video.service b/unifi-video.service
index 63b656e52806..e225ad9a446e 100644
--- a/unifi-video.service
+++ b/unifi-video.service
@@ -7,6 +7,10 @@ Type=forking
WorkingDirectory=/usr/lib/unifi-video
TimeoutStartSec=300
TimeoutStopSec=300
+Restart=on-failure
+RestartSec=5
+StartLimitInterval=60s
+StartLimitBurst=3
ExecStart=/usr/bin/unifi-video --verbose start
ExecStop=/usr/bin/unifi-video --verbose stop