summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2016-04-18 22:00:10 -0700
committerDonald Webster2016-04-18 22:00:47 -0700
commit6ed5455833568f3d4a7ed371121de687c9a79fb4 (patch)
tree1ce22b14a72ad10f95c2734998d4218631008da9
parentd0ebc676734bf27e330811032290f72fc3d25b78 (diff)
downloadaur-6ed5455833568f3d4a7ed371121de687c9a79fb4.tar.gz
Switch service type to forking, remove --nodetach from start/stop.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--unifi-video.service5
3 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 262435bc44e..4fc84e6454d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Apr 19 03:18:52 UTC 2016
+# Tue Apr 19 05:00:42 UTC 2016
pkgbase = unifi-video
pkgdesc = Centralized management system for Ubiquiti UniFi Surveillance Cameras
pkgver = 3.2.2
- pkgrel = 1
+ pkgrel = 2
url = https://www.ubnt.com/
install = unifi-video.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c5bb5035065..19f25c1dfad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=unifi-video
pkgver=3.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="Centralized management system for Ubiquiti UniFi Surveillance Cameras"
arch=('x86_64')
url="https://www.ubnt.com/"
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