aboutsummaryrefslogtreecommitdiffstats
path: root/community/h2o/h2o.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/h2o/h2o.pre-install')
-rw-r--r--community/h2o/h2o.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/h2o/h2o.pre-install b/community/h2o/h2o.pre-install
new file mode 100644
index 0000000000..9af1c4ca67
--- /dev/null
+++ b/community/h2o/h2o.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+adduser -S -D -H -h /var/www -s /sbin/nologin -g h2o h2o 2>/dev/null
+addgroup -S -g 82 www-data 2>/dev/null
+addgroup h2o www-data 2>/dev/null
+
+exit 0