summaryrefslogtreecommitdiffstats
path: root/testing/tengine/tengine.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tengine/tengine.pre-install')
-rw-r--r--testing/tengine/tengine.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/tengine/tengine.pre-install b/testing/tengine/tengine.pre-install
new file mode 100644
index 000000000..5d0abf784
--- /dev/null
+++ b/testing/tengine/tengine.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+addgroup -g 82 -S www-data 2>/dev/null
+addgroup -S tengine 2>/dev/null
+adduser -S -G tengine -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+ -D tengine 2>/dev/null
+addgroup tengine www-data 2>/dev/null
+
+exit 0