Skip to content

Commit

Permalink
symlink /app/lgsm/data
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Sep 23, 2024
1 parent c11efd5 commit 318c087
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions entrypoint-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ if [ ! -d "/app/log" ]; then
ln -s "${LGSM_LOGDIR}" "/app/log"
fi

# Symlink LGSM_DATADIR to /app/lgsm/data
if [ ! -d "/app/lgsm/data" ]; then
echo -e ""
echo -e "creating symlink for ${LGSM_DATADIR}"
echo -e "================================="
ln -s "${LGSM_DATADIR}" "/app/lgsm/data"
fi

# npm install in /app/lgsm
if [ -f "/app/lgsm/package.json" ]; then
echo -e ""
Expand Down

0 comments on commit 318c087

Please sign in to comment.