Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xejabberdctl.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index 75e3d2032..20874325d 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -11,6 +11,7 @@ INET_DIST_INTERFACE=""
ERLANG_NODE=ejabberd@localhost
# define default environment variables
+SCRIPT_DIR=$(cd "${0%/*}" && pwd)
ERL="{{erl}}"
IEX="{{bindir}}/iex"
EPMD="{{epmd}}"