Browse Source

symlink /app/lgsm/data

pull/63/head
Daniel Gibbs 6 months ago
parent
commit
318c08782d
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 8
      entrypoint-user.sh

8
entrypoint-user.sh

@ -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 ""

Loading…
Cancel
Save