Skip to content

Commit e14a05d

Browse files
committed
feat: add symlink to serverfile in /app
1 parent e87e768 commit e14a05d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

entrypoint-user.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ if [ ! -d "/app/lgsm/config-lgsm" ]; then
2828
ln -s "${LGSM_CONFIG}" "/app/lgsm/config-lgsm"
2929
fi
3030

31+
# Symlink LGSM_SERVERCFG to /app/serverfiles
32+
if [ ! -d "/app/serverfiles" ]; then
33+
echo -e ""
34+
echo -e "creating symlink for ${LGSM_SERVERCFG}"
35+
echo -e "================================="
36+
ln -s "${LGSM_SERVERCFG}" "/app/serverfiles"
37+
fi
38+
3139

3240
# Clear modules directory if not master
3341
if [ "${LGSM_GITHUBBRANCH}" != "master" ]; then

0 commit comments

Comments
 (0)