aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-12-21 18:23:55 +0100
committerBadlop <badlop@process-one.net>2021-12-23 13:57:00 +0100
commit46324385f25d6810e8781fedd7c68aca90d7df98 (patch)
tree9fd7e30a4fa0d63695de4ffd0273c4f1f8e2fdc3
parentIn POSIX sh, RANDOM is undefined, use alternative (diff)
SCRIPT_DIR is used by relx releases
-rwxr-xr-xejabberdctl.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index 7b7f25c51..adbaffa62 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -105,6 +105,7 @@ export ERL_MAX_ETS_TABLES
export CONTRIB_MODULES_PATH
export CONTRIB_MODULES_CONF_DIR
export ERL_LIBS
+export SCRIPT_DIR
# run command either directly or via su $INSTALLUSER
exec_cmd()