mongodb: renamed `run-mongodb.sh` to `run.sh`

This commit is contained in:
Sameer Naik 2017-03-20 12:50:16 +01:00
parent 6d0d8e173c
commit 53362e492b
3 changed files with 2 additions and 2 deletions

View File

@ -44,4 +44,4 @@ EXPOSE 27017
ENTRYPOINT ["/app-entrypoint.sh"]
CMD ["/run-mongodb.sh"]
CMD ["/run.sh"]

View File

@ -5,7 +5,7 @@
print_welcome_page
check_for_updates &
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/run-mongodb.sh" ]]; then
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/run.sh" ]]; then
nami_initialize mongodb
fi