From 4a482a43ea608a52f37b2efa42b4c35fad353a40 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 1 Sep 2018 17:41:29 +0300 Subject: [PATCH] ejabberd --- talimatname/genel/e/ejabberd/ejabberd.kur-kos | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/talimatname/genel/e/ejabberd/ejabberd.kur-kos b/talimatname/genel/e/ejabberd/ejabberd.kur-kos index a96ae3c90..853086fd7 100644 --- a/talimatname/genel/e/ejabberd/ejabberd.kur-kos +++ b/talimatname/genel/e/ejabberd/ejabberd.kur-kos @@ -2,6 +2,7 @@ if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; groupadd -g 203 ejabberd useradd -g 203 -u 203 -d /var/lib/ejabberd -s /bin/bash ejabberd fi - -chown ejabberd:ejabberd var/lib/ejabberd var/lock/ejabberdctl var/log/ejabberd -chmod 0750 var/lib/ejabberd var/lock/ejabberdctl var/log/ejabberd +mkdir -p /var/lock/ejabberdctl +mkdir -p /var/lib/ejabberd +chown ejabberd:ejabberd /var/lib/ejabberd /var/lock/ejabberdctl /var/log/ejabberd +chmod 0750 /var/lib/ejabberd /var/lock/ejabberdctl /var/log/ejabberd