summarylogtreecommitdiffstats
path: root/unifi-video.service
diff options
context:
space:
mode:
authorDonald Webster2016-04-18 22:00:10 -0700
committerDonald Webster2016-04-18 22:00:47 -0700
commit6ed5455833568f3d4a7ed371121de687c9a79fb4 (patch)
tree1ce22b14a72ad10f95c2734998d4218631008da9 /unifi-video.service
parentd0ebc676734bf27e330811032290f72fc3d25b78 (diff)
downloadaur-6ed5455833568f3d4a7ed371121de687c9a79fb4.tar.gz
Switch service type to forking, remove --nodetach from start/stop.
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