Add LD_LIBRARY_PATH.

This commit is contained in:
Lauri Ojansivu 2020-01-16 06:49:16 +02:00
parent 6a01170d86
commit 10f142a1a0
3 changed files with 3 additions and 0 deletions

View file

@ -9,6 +9,7 @@ if [ -z "$LANG" ]; then
fi
export LC_ALL=C
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/current/lib/x86_64-linux-gnu
if [ -z $1 ]; then
DATE=`/bin/date +%Y%m%dT%H%M%S`

View file

@ -15,6 +15,7 @@ if [ -z "$LANG" ]; then
fi
export LC_ALL=C
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/current/lib/x86_64-linux-gnu
# When starting MongoDB, if logfile exist, delete it, because now uses syslog instead of logfile,
# because syslog usually already has log rotation.

View file

@ -9,6 +9,7 @@ if [ -z "$LANG" ]; then
fi
export LC_ALL=C
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/current/lib/x86_64-linux-gnu
# start mongodb backup
[ "x" == "x${MONGODB_BIND_IP}" ] && MONGODB_BIND_IP="127.0.0.1"