Skip to content

Commit 81ca06f

Browse files
committed
feat: add /app/log symlink
1 parent 8abc389 commit 81ca06f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

entrypoint-user.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,21 @@ 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
31+
# Symlink LGSM_SERVERCFG to /app/serverfiles
3232
if [ ! -d "/app/serverfiles" ]; then
3333
echo -e ""
3434
echo -e "creating symlink for ${LGSM_SERVERCFG}"
3535
echo -e "================================="
3636
ln -s "${LGSM_SERVERFILES}" "/app/serverfiles"
3737
fi
3838

39+
# Symlink LGSM_LOGDIR to /app/log
40+
if [ ! -d "/app/log" ]; then
41+
echo -e ""
42+
echo -e "creating symlink for ${LGSM_LOGDIR}"
43+
echo -e "================================="
44+
ln -s "${LGSM_LOGDIR}" "/app/log"
45+
fi
3946

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

0 commit comments

Comments
 (0)