summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2017-02-18 15:56:45 -0800
committerDonald Webster2017-02-18 15:56:59 -0800
commitd34bb97adc03a96efe7869b86526970ffbf425e2 (patch)
tree2e65649e49a86e87ac5517d93f4e1bbc73cea14c
parent306a6aed1f19ad60390b35f98fc9edc572366179 (diff)
downloadaur-d34bb97adc03a96efe7869b86526970ffbf425e2.tar.gz
Run unifi-video as unifi-video user and group.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--unifi-video.service2
3 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c08e4756ef0..1b9c89ada7c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Feb 6 17:56:48 UTC 2017
+# Sat Feb 18 23:56:56 UTC 2017
pkgbase = unifi-video
pkgdesc = Centralized management system for Ubiquiti UniFi Surveillance Cameras
pkgver = 3.6.1
- pkgrel = 1
+ pkgrel = 2
url = https://www.ubnt.com/
install = unifi-video.install
arch = x86_64
@@ -18,7 +18,7 @@ pkgbase = unifi-video
source = unifi-video.sysusers
source = unifi-video.patch
sha256sums = 8ef16dfb4a58caa76917fd02f0aae54c3135c313fa18709d3fa5601c5816661b
- sha256sums = 9df948b046347c25e7c83e4837284ef63d9f8d3f28daa20a6c36e203e3ebfdb3
+ sha256sums = 0187634ef18c3c721adc1a6ff8122020d53158510a2f467c58871bb654d77356
sha256sums = 90fb2f826a70d3b7815cd6a2253c2af6754c17504be28ef92ee223bd02093730
sha256sums = 903c8def2668124570986f113fabf7ef03a1c94cde3a42dbf530ad6a19f139e7
diff --git a/PKGBUILD b/PKGBUILD
index 3f9975848e3..73f360f1366 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=unifi-video
pkgver=3.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="Centralized management system for Ubiquiti UniFi Surveillance Cameras"
arch=('x86_64')
url="https://www.ubnt.com/"
@@ -16,7 +16,7 @@ source=("http://dl.ubnt.com/firmwares/unifi-video/${pkgver}/unifi-video_${pkgver
'unifi-video.patch')
sha256sums=('8ef16dfb4a58caa76917fd02f0aae54c3135c313fa18709d3fa5601c5816661b'
- '9df948b046347c25e7c83e4837284ef63d9f8d3f28daa20a6c36e203e3ebfdb3'
+ '0187634ef18c3c721adc1a6ff8122020d53158510a2f467c58871bb654d77356'
'90fb2f826a70d3b7815cd6a2253c2af6754c17504be28ef92ee223bd02093730'
'903c8def2668124570986f113fabf7ef03a1c94cde3a42dbf530ad6a19f139e7')
diff --git a/unifi-video.service b/unifi-video.service
index 2663b45db88..e4f2d004d06 100644
--- a/unifi-video.service
+++ b/unifi-video.service
@@ -3,6 +3,8 @@ Description=Ubiquiti UniFi Video Server
After=network.target
[Service]
+User=unifi-video
+Group=unifi-video
Type=simple
WorkingDirectory=/usr/lib/unifi-video
TimeoutStartSec=300