summarylogtreecommitdiffstats
path: root/unifi-video.service
diff options
context:
space:
mode:
Diffstat (limited to 'unifi-video.service')
-rw-r--r--unifi-video.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/unifi-video.service b/unifi-video.service
index b760d24e269..63b656e5280 100644
--- a/unifi-video.service
+++ b/unifi-video.service
@@ -3,11 +3,12 @@ Description=Ubiquiti UniFi Video Server
After=network.target
[Service]
+Type=forking
WorkingDirectory=/usr/lib/unifi-video
TimeoutStartSec=300
TimeoutStopSec=300
-ExecStart=/usr/bin/unifi-video --verbose --nodetach start
-ExecStop=/usr/bin/unifi-video --verbose --nodetach stop
+ExecStart=/usr/bin/unifi-video --verbose start
+ExecStop=/usr/bin/unifi-video --verbose stop
[Install]
WantedBy=multi-user.target