summarylogtreecommitdiffstats
path: root/unifi-video.service
diff options
context:
space:
mode:
authorDonald Webster2016-07-22 08:09:41 -0700
committerDonald Webster2016-07-22 10:13:29 -0700
commit4bfb32e3e7ae6d9f5f570538ab12fee853de7e8f (patch)
treed15d6d36dcae13b04cb7b4774e31c89e3ceb49f7 /unifi-video.service
parent3e262517b06fe0ac72fef570b18bf3c1dedd8188 (diff)
downloadaur-4bfb32e3e7ae6d9f5f570538ab12fee853de7e8f.tar.gz
Update to 3.3.0
Removed ulimit from start script. Removed --verbose from service file. Changed systemd Type to simple, added --no-detach.
Diffstat (limited to 'unifi-video.service')
-rw-r--r--unifi-video.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/unifi-video.service b/unifi-video.service
index e225ad9a446..2663b45db88 100644
--- a/unifi-video.service
+++ b/unifi-video.service
@@ -3,7 +3,7 @@ Description=Ubiquiti UniFi Video Server
After=network.target
[Service]
-Type=forking
+Type=simple
WorkingDirectory=/usr/lib/unifi-video
TimeoutStartSec=300
TimeoutStopSec=300
@@ -11,8 +11,8 @@ Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
-ExecStart=/usr/bin/unifi-video --verbose start
-ExecStop=/usr/bin/unifi-video --verbose stop
+ExecStart=/usr/bin/unifi-video --nodetach start
+ExecStop=/usr/bin/unifi-video --nodetach stop
[Install]
WantedBy=multi-user.target