summaryrefslogtreecommitdiff
path: root/legacy/mistserver/mistserver.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/mistserver/mistserver.pre-install')
-rw-r--r--legacy/mistserver/mistserver.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/legacy/mistserver/mistserver.pre-install b/legacy/mistserver/mistserver.pre-install
new file mode 100644
index 000000000..9ef5b5f2e
--- /dev/null
+++ b/legacy/mistserver/mistserver.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+groupadd -r mistserver 2>/dev/null
+useradd -c mistserver -s /sbin/nologin -g mistserver \
+ -m -r mistserver 2>/dev/null
+
+exit 0