diff --git a/.env b/.env index a7873987e6..ae96d23fdd 100644 --- a/.env +++ b/.env @@ -258,7 +258,7 @@ PHRASEANET_MAINTENANCE=0 # Example : # PHRASEANET_MAINTENANCE_MESSAGE="

Under maintenance!

More information here

" # @run -PHRASEANET_MAINTENANCE_MESSAGE= +PHRASEANET_MAINTENANCE_MESSAGE="Site: $PHRASEANET_PROJECT_NAME are under Maintenance ! Sorry, come back Later" # --- RabbitMQ settings ------------------------------------------------------------------------------------------------ diff --git a/stack.sh b/stack.sh index fc8c59ab79..2b9baaf4ee 100755 --- a/stack.sh +++ b/stack.sh @@ -238,7 +238,7 @@ maintenance_mode() { fi } # Function to apply setup -apply_setup() { +apply-setup() { echo "Applying setup..." local env_files=($(get_env_files)) $DOCKER_COMPOSE_CMD "${env_files[@]/#/--env-file=}" run --rm setup @@ -274,11 +274,11 @@ case "$1" in exit 1 fi ;; - apply) + apply-setup) apply_setup ;; *) - echo "Usage: $0 {start|stop|status|version|maintenance [on|off]|logs [container_name]}" + echo "Usage: $0 {start|stop|status|version|maintenance [on|off]|logs [container_name]|apply-setup}" exit 1 esac