aboutsummaryrefslogtreecommitdiffstats
path: root/testing/h2o/h2o.pre-install
diff options
context:
space:
mode:
authorBennett Goble <nivardus@gmail.com>2015-07-03 14:10:12 -0400
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-07-04 19:10:18 +0200
commitfaa11c327beef4f2ce95e635399e3a459cc58c53 (patch)
treeac50cb53cf673d74a4c31d311b3310c0f37130d7 /testing/h2o/h2o.pre-install
parentaaa28b17629cf8def22c010ecc7f20e9cc842e38 (diff)
downloadaports-faa11c327beef4f2ce95e635399e3a459cc58c53.tar.bz2
aports-faa11c327beef4f2ce95e635399e3a459cc58c53.tar.xz
testing/h2o: new aport
https://h2o.examp1e.net An optimized HTTP/1, HTTP/2 server written in C
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