aboutsummaryrefslogtreecommitdiffstats
path: root/main/fcgiwrap/fcgiwrap.pre-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-08-14 09:17:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-08-14 09:17:28 +0000
commitdff6c46b201b6ed231bbd07fac40b11ebde54a79 (patch)
treef874b85b1fd662ae56d7ae33db6dea3a2bafb781 /main/fcgiwrap/fcgiwrap.pre-install
parent130040cf4c94e72fe52e6080e9328ea1762138fc (diff)
downloadaports-dff6c46b201b6ed231bbd07fac40b11ebde54a79.tar.bz2
aports-dff6c46b201b6ed231bbd07fac40b11ebde54a79.tar.xz
main/fcgiwrap: updated url, added initd. Fixes #7651
Diffstat (limited to 'main/fcgiwrap/fcgiwrap.pre-install')
-rw-r--r--main/fcgiwrap/fcgiwrap.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/fcgiwrap/fcgiwrap.pre-install b/main/fcgiwrap/fcgiwrap.pre-install
new file mode 100644
index 0000000000..cdd114e0ec
--- /dev/null
+++ b/main/fcgiwrap/fcgiwrap.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S www-data 2>/dev/null
+adduser -S -D -H -h /var/run/fcgiwrap -s /sbin/nologin -G www-data \
+ fcgiwrap 2>/dev/null
+exit 0
+