summaryrefslogtreecommitdiff
path: root/community/ejabberd/ejabberd.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/ejabberd/ejabberd.install')
-rw-r--r--community/ejabberd/ejabberd.install25
1 files changed, 0 insertions, 25 deletions
diff --git a/community/ejabberd/ejabberd.install b/community/ejabberd/ejabberd.install
deleted file mode 100644
index 6e586229d..000000000
--- a/community/ejabberd/ejabberd.install
+++ /dev/null
@@ -1,25 +0,0 @@
-post_install() {
- groupadd -r jabber
- useradd -r -G jabber -d /var/lib/ejabberd ejabberd
- chown -R ejabberd.jabber /var/log/ejabberd
- chown -R ejabberd.jabber /var/lib/ejabberd
- chown root:ejabberd /usr/lib/ejabberd/priv/bin/epam
- chown root:ejabberd /etc/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberdctl.cfg /etc/ejabberd
- chmod 4750 /usr/lib/ejabberd/priv/bin/epam
-}
-
-post_upgrade() {
- chown -R ejabberd.jabber /var/log/ejabberd
- chown -R ejabberd.jabber /var/lib/ejabberd
- chown root:ejabberd /etc/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberdctl.cfg /etc/ejabberd
- chown root:ejabberd /usr/lib/ejabberd/priv/bin/epam
- chmod 4750 /usr/lib/ejabberd/priv/bin/epam
- echo ">> ejabberd looks into /var/lib/ejabberd for mnesia db now"
-}
-
-post_remove() {
- userdel ejabberd
- groupdel jabber
-}
-
-# vim:set ts=2 sw=2 et: