aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ejabberd/ejabberd.post-install
blob: 817314e97d56e7e02756caed0797e305a366c18f (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

groupadd jabber
useradd -G jabber -d /var/lib/ejabberd ejabberd
chown -R ejabberd.jabber /var/log/ejabberd
chown -R ejabberd.jabber /var/spool/ejabberd
chown -R ejabberd.jabber /var/lib/ejabberd
chown root:ejabberd /etc/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberdctl.cfg /etc/ejabberd