ejabberd.kur-kos 389 B

123456789
  1. if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; then
  2. groupadd -g 203 ejabberd
  3. useradd -g 203 -u 203 -d /var/lib/ejabberd -s /bin/bash ejabberd
  4. fi
  5. mkdir -p /var/lock/ejabberdctl
  6. mkdir -p /var/lib/ejabberd
  7. chown ejabberd:ejabberd /var/lib/ejabberd /var/lock/ejabberdctl /var/log/ejabberd
  8. chmod 0750 /var/lib/ejabberd /var/lock/ejabberdctl /var/log/ejabberd