use BITNAMI_APP_DIR in server parameters

This commit is contained in:
Sameer Naik
2015-08-05 12:42:38 +05:30
parent 459b69e6f2
commit 47cac73c4c

View File

@@ -29,7 +29,7 @@ if [[ "$1" = 'mongod' ]]; then
# Add default configuration
if [[ "$@" = 'mongod' ]]; then
exec gosu $BITNAMI_APP_USER "$@" \
--config $BITNAMI_APP_VOL_PREFIX/conf/mongodb.conf --dbpath $BITNAMI_APP_DIR/data $EXTRA_OPTIONS
--config $BITNAMI_APP_DIR/conf/mongodb.conf --dbpath $BITNAMI_APP_DIR/data $EXTRA_OPTIONS
else
exec gosu $BITNAMI_APP_USER "$@"
fi