diff options
author | Badlop <badlop@process-one.net> | 2009-08-24 19:44:07 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-08-24 19:44:07 +0000 |
commit | 73282e0760afe6aa4303e8dedcb8111dfa1e7b1c (patch) | |
tree | 39fe04ca4726fdb0083dacc2222f86a31ceb419e /src/ejabberd.init.template | |
parent | Added preliminary template file for ejabberd.init (thanks to Christophe Romain) (diff) |
Prepare ejabberd.init when installing ejabberd.
SVN Revision: 2521
Diffstat (limited to 'src/ejabberd.init.template')
-rw-r--r-- | src/ejabberd.init.template | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ejabberd.init.template b/src/ejabberd.init.template index 948e5c4d0..6659557b6 100644 --- a/src/ejabberd.init.template +++ b/src/ejabberd.init.template @@ -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 } |