summaryrefslogtreecommitdiff
path: root/user/mistserver/mistserver.pre-install
diff options
context:
space:
mode:
authorSheila Aman <sheila@vulpine.house>2022-02-10 18:00:45 -0800
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commite1de1097ca5a5f0c2bfa32565192f7978e263494 (patch)
treeefa69417d0da41d9fe9c3c8cfd554bfc262ef104 /user/mistserver/mistserver.pre-install
parent6b1074871b51c668e7cb02299fa046ecab149b77 (diff)
downloadpackages-e1de1097ca5a5f0c2bfa32565192f7978e263494.tar.gz
packages-e1de1097ca5a5f0c2bfa32565192f7978e263494.tar.bz2
packages-e1de1097ca5a5f0c2bfa32565192f7978e263494.tar.xz
packages-e1de1097ca5a5f0c2bfa32565192f7978e263494.zip
user/mistserver: new package.
Diffstat (limited to 'user/mistserver/mistserver.pre-install')
-rw-r--r--user/mistserver/mistserver.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/mistserver/mistserver.pre-install b/user/mistserver/mistserver.pre-install
new file mode 100644
index 000000000..9ef5b5f2e
--- /dev/null
+++ b/user/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