summaryrefslogtreecommitdiff
path: root/user/apaste/apaste-server.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/apaste/apaste-server.pre-install')
-rw-r--r--user/apaste/apaste-server.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/apaste/apaste-server.pre-install b/user/apaste/apaste-server.pre-install
new file mode 100644
index 000000000..32782d21f
--- /dev/null
+++ b/user/apaste/apaste-server.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S apasted 2>/dev/null
+adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apastedlog apastedlog 2>/dev/null
+adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apasted apasted 2>/dev/null
+
+exit 0