summaryrefslogtreecommitdiff
path: root/config-parabola-service-myhostname.PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-28 22:50:42 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-28 22:50:42 -0400
commit4a6be3cb77c4b6f255e671fec745c4eadfc05bbb (patch)
tree845657b0a34d62461e4161a29761a21cc9ec676c /config-parabola-service-myhostname.PKGBUILD
parent761d91c3c2393144d5ff3173365adc7b0a485a40 (diff)
Don't use "nobody"
Diffstat (limited to 'config-parabola-service-myhostname.PKGBUILD')
-rw-r--r--config-parabola-service-myhostname.PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/config-parabola-service-myhostname.PKGBUILD b/config-parabola-service-myhostname.PKGBUILD
index 0bf2fc2..6bf63df 100644
--- a/config-parabola-service-myhostname.PKGBUILD
+++ b/config-parabola-service-myhostname.PKGBUILD
@@ -1,5 +1,5 @@
. ${BUILDFILE%/*}/common.sh
-pkgver=20180826.1
+pkgver=20180828
package() {
preamble
@@ -61,12 +61,16 @@ for cmd in "\${cmds[@]}"; do
done
EOF
+add-file -m644 etc/sysusers.d/myhostname.conf <<-'EOF'
+ u myhostname -
+ EOF
+
add-file etc/uwsgi/myhostname.ini <<EOF
[uwsgi]
master = true
processes = 1
-uid = nobody
+uid = myhostname
gid = http
plugins = cgi