1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

Prepare ejabberd.init when installing ejabberd.

SVN Revision: 2521
This commit is contained in:
Badlop 2009-08-24 19:44:07 +00:00
parent 11be369987
commit 73282e0760
2 changed files with 11 additions and 4 deletions

View file

@ -2,11 +2,11 @@
set -o errexit
set -o nounset
DIR=@@INSTALLDIR@@
CTL="$DIR"/bin/ejabberdctl
USER=ejabberd
DIR=@ctlscriptpath@
CTL="$DIR"/ejabberdctl
USER=@installuser@
test -d "$DIR" || {
test -x "$CTL" || {
echo "ERROR: ejabberd not found: $DIR"
exit 1
}