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:
authorBadlop <badlop@process-one.net>2021-12-23 14:11:30 +0300
committerBadlop <badlop@process-one.net>2021-12-23 15:57:16 +0300
commite2b7717dd9897bbcda29b270195cd7a36eb295cf (patch)
tree375929d8941ab21292bf9eed7068ff158e69adce /ejabberdctl.template
parent694d80b7fa044abf3ddc47829130fcec0bb23fac (diff)
Workaround to support ShellCheck older than 0.8.0
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index cd2cc3c3e..9bd76749c 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -62,6 +62,7 @@ done
: "${EJABBERDCTL_CONFIG_PATH:="$ETC_DIR/ejabberdctl.cfg"}"
# Allows passing extra Erlang command-line arguments in vm.args file
: "${VMARGS:="$ETC_DIR/vm.args"}"
+# shellcheck source=ejabberdctl.cfg.example
[ -f "$EJABBERDCTL_CONFIG_PATH" ] && . "$EJABBERDCTL_CONFIG_PATH"
[ -n "$ERLANG_NODE_ARG" ] && ERLANG_NODE="$ERLANG_NODE_ARG"
[ "$ERLANG_NODE" = "${ERLANG_NODE%.*}" ] && S="-s"