diff --git a/lib/globals.sh b/lib/globals.sh index 6b4cc85..2169f83 100644 --- a/lib/globals.sh +++ b/lib/globals.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -ex # # values used on both the modserver and individual servers # ------------------------------------------------------------ diff --git a/server_start.sh b/server_start.sh index 79604a3..9d5e4c3 100644 --- a/server_start.sh +++ b/server_start.sh @@ -1,4 +1,4 @@ -#!/bin/sh -x +#!/bin/sh -ex # # 01. "should check code directly not $?" # shellcheck disable=2181 @@ -18,7 +18,7 @@ # =================================================== echo "Starting, attempting to load globals.sh" -GLOBALS_FILE="$PWD/lib/globals.sh" +GLOBALS_FILE="$PWD/globals.sh" if [ -e "$GLOBALS_FILE" ] ; then chmod +x "$GLOBALS_FILE" . "$GLOBALS_FILE" diff --git a/servers/mitch_chernarus_test/globals.sh b/servers/mitch_chernarus_test/globals.sh new file mode 120000 index 0000000..e41891d --- /dev/null +++ b/servers/mitch_chernarus_test/globals.sh @@ -0,0 +1 @@ +../../lib/globals.sh \ No newline at end of file diff --git a/servers/mitch_chernarus_test/server_start.sh b/servers/mitch_chernarus_test/server_start.sh new file mode 120000 index 0000000..aa1862f --- /dev/null +++ b/servers/mitch_chernarus_test/server_start.sh @@ -0,0 +1 @@ +../../server_start.sh \ No newline at end of file