aboutsummaryrefslogtreecommitdiffstats
path: root/main/fcgiwrap/fcgiwrap.pre-install
diff options
context:
space:
mode:
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
+