aboutsummaryrefslogtreecommitdiffstats
path: root/main/uwsgi/uwsgi.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/uwsgi/uwsgi.pre-install')
-rw-r--r--main/uwsgi/uwsgi.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/uwsgi/uwsgi.pre-install b/main/uwsgi/uwsgi.pre-install
new file mode 100644
index 0000000000..ad1659bf60
--- /dev/null
+++ b/main/uwsgi/uwsgi.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S uwsgi 2>/dev/null
+adduser -S -D -H -h /dev/null -s /sbin/nologin -G uwsgi -g uwsgi uwsgi 2>/dev/null
+
+exit 0