summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSchala2017-02-13 17:39:56 -0800
committerSchala2017-02-13 17:39:56 -0800
commit06d76fd00fb4d55374b3a3e51f461c23517d4e60 (patch)
tree0669c7531ae64d979a4332b8dcdb33daaa21cca8
parent7ca8157a9dc0896bda9d119b81b81e9d1acabbb6 (diff)
downloadaur-06d76fd00fb4d55374b3a3e51f461c23517d4e60.tar.gz
run the service as inworldz user
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--whip-server.service3
3 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 49b37eaa61d0..e0087dcea393 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Feb 14 01:28:36 UTC 2017
+# Tue Feb 14 01:39:38 UTC 2017
pkgbase = whip-server
pkgdesc = The InWorldz WHIP distributed asset server
pkgver = 5.01
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/InWorldz/whip-server
install = whip-server.install
arch = i686
@@ -16,7 +16,7 @@ pkgbase = whip-server
source = https://github.com/InWorldz/whip-server/archive/v5.01-win64b.tar.gz
source = whip-server.service
md5sums = 3174e8b1de0aabf08446ff7b8c6e2b06
- md5sums = d9a3fc990e7540839ada38ac42cf3e79
+ md5sums = 307310746d8ffa5830fa573b57a64abb
pkgname = whip-server
diff --git a/PKGBUILD b/PKGBUILD
index 71e7122e3435..4f1652a58afc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=whip-server
pkgver=5.01
_pkgsubver="-win64b"
-pkgrel=2
+pkgrel=3
pkgdesc="The InWorldz WHIP distributed asset server"
arch=(i686 x86_64)
url="https://github.com/InWorldz/$pkgname"
@@ -13,7 +13,7 @@ makedepends=(cmake boost)
depends=(boost-libs)
options=(emptydirs)
md5sums=('3174e8b1de0aabf08446ff7b8c6e2b06'
- 'd9a3fc990e7540839ada38ac42cf3e79')
+ '307310746d8ffa5830fa573b57a64abb')
prepare() {
mkdir -p build
diff --git a/whip-server.service b/whip-server.service
index 201a28daf8ef..b370e97d1408 100644
--- a/whip-server.service
+++ b/whip-server.service
@@ -8,7 +8,8 @@ ExecStart=/srv/inworldz/whip
ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
-User=%I
+User=inworldz
+Group=inworldz
[Install]
WantedBy=multi-user.target