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:
parent
11be369987
commit
73282e0760
2 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue