summaryrefslogtreecommitdiff
path: root/user/prosody/prosody.pre-install
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-09 17:03:32 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-09 21:37:43 -0500
commitcef60d848566b56692a9604df7c4e53c8b5605c6 (patch)
treee268762465cb0e967a52f3c9fb046616ef674e8a /user/prosody/prosody.pre-install
parent5b5c7a6c1cdb7f83682201c8521c31e7e35ce6db (diff)
downloadpackages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.gz
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.bz2
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.xz
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.zip
user/prosody: new package
Diffstat (limited to 'user/prosody/prosody.pre-install')
-rw-r--r--user/prosody/prosody.pre-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/prosody/prosody.pre-install b/user/prosody/prosody.pre-install
new file mode 100644
index 000000000..39d9cfadd
--- /dev/null
+++ b/user/prosody/prosody.pre-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+addgroup -S prosody 2>/dev/null
+adduser -S -D \
+ -h /var/lib/prosody \
+ -s /sbin/nologin \
+ -G prosody \
+ -g "Prosody XMPP Server" \
+ prosody 2>/dev/null
+
+exit 0