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