summaryrefslogtreecommitdiffstats
path: root/testing/prosody/prosody.pre-install
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-06-08 15:00:56 +0000
committerMichael Mason <ms13sp@gmail.com>2009-06-08 15:00:56 +0000
commitf9b478494e821804a3c5cee3912a1f970c2b7ca3 (patch)
tree0c7b35640c839161b32c82e34746f1ab14835e61 /testing/prosody/prosody.pre-install
parentaf73d3395ad713e014efb49fc60b0c9d99a11e1f (diff)
downloadaports-f9b478494e821804a3c5cee3912a1f970c2b7ca3.tar.bz2
aports-f9b478494e821804a3c5cee3912a1f970c2b7ca3.tar.xz
unstable/prosody move to testing/prosody
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 000000000..db63efa17
--- /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
+