summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 262435bc44ef..4fc84e6454d0 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 c5bb50350658..19f25c1dfade 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 b760d24e2693..63b656e52806 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