ejabberd
This commit is contained in:
parent
eefb2fae16
commit
f46ce59b93
|
@ -1,4 +0,0 @@
|
||||||
if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; then
|
|
||||||
groupadd -g 203 ejabberd
|
|
||||||
useradd -g 203 -u 203 -d /var/lib/ejabberd -s /bin/bash ejabberd
|
|
||||||
fi
|
|
|
@ -1,2 +1,7 @@
|
||||||
|
if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; then
|
||||||
|
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
|
chown ejabberd:ejabberd var/lib/ejabberd var/lock/ejabberdctl var/log/ejabberd
|
||||||
chmod 0750 var/lib/ejabberd var/lock/ejabberdctl var/log/ejabberd
|
chmod 0750 var/lib/ejabberd var/lock/ejabberdctl var/log/ejabberd
|
||||||
|
|
|
@ -10,6 +10,10 @@ devir=1
|
||||||
kaynak=(https://github.com/processone/ejabberd/archive/$surum.tar.gz::ejabberd-$surum.tar.gz)
|
kaynak=(https://github.com/processone/ejabberd/archive/$surum.tar.gz::ejabberd-$surum.tar.gz)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
|
if [ -z "$(grep ^ejabberd /etc/group)" -o -z "$(grep ^ejabberd /etc/passwd)" ]; then
|
||||||
|
groupadd -g 203 ejabberd
|
||||||
|
useradd -g 203 -u 203 -d /var/lib/ejabberd -s /bin/bash ejabberd
|
||||||
|
fi
|
||||||
cd "$SRC/$isim-$surum"
|
cd "$SRC/$isim-$surum"
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure \
|
./configure \
|
||||||
|
|
Loading…
Reference in New Issue