From e14a05d673b8cf59837e459b6e476cf6c3279785 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 11 Feb 2024 19:19:18 +0000 Subject: [PATCH] feat: add symlink to serverfile in /app --- entrypoint-user.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entrypoint-user.sh b/entrypoint-user.sh index 514e877..3acfb70 100755 --- a/entrypoint-user.sh +++ b/entrypoint-user.sh @@ -28,6 +28,14 @@ if [ ! -d "/app/lgsm/config-lgsm" ]; then ln -s "${LGSM_CONFIG}" "/app/lgsm/config-lgsm" fi +# Symlink LGSM_SERVERCFG to /app/serverfiles +if [ ! -d "/app/serverfiles" ]; then + echo -e "" + echo -e "creating symlink for ${LGSM_SERVERCFG}" + echo -e "=================================" + ln -s "${LGSM_SERVERCFG}" "/app/serverfiles" +fi + # Clear modules directory if not master if [ "${LGSM_GITHUBBRANCH}" != "master" ]; then