aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prosody/prosody.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/prosody/prosody.pre-install')
-rw-r--r--testing/prosody/prosody.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/prosody/prosody.pre-install b/testing/prosody/prosody.pre-install
new file mode 100644
index 0000000000..db63efa179
--- /dev/null
+++ b/testing/prosody/prosody.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+user=prosody
+home=/var/lib/prosody
+adduser -h $home -s /bin/false -D $user 2>/dev/null
+mkdir -p $home
+chown $user:$user $home
+exit 0
+