Improve startup message Docker

This commit is contained in:
Nanne Baars 2021-12-22 12:55:27 +01:00
parent c5389f31c3
commit c000a9b467
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -51,8 +51,9 @@ function write_start_message() {
\ /\ / | __/ | |_) | | |__| | | (_) | | (_| | | |_
\/ \/ \___| |_.__/ \_____| \___/ \__,_| \__|
" >> webgoat.log
echo "WebGoat and WebWolf successfully started..." >> webgoat.log
pidof nginx >/dev/null && echo "Browse to http://localhost to get started" >> webgoat.log || echo "Browse to http://localhost:8080/WebGoat or http://localhost:9090/WebWolf to get started" >> webgoat.log
echo $'WebGoat and WebWolf successfully started...\n' >> webgoat.log
echo "NOTE: port numbers mentioned below may vary depending on your port mappings while starting the Docker container" >> webgoat.log
pidof nginx >/dev/null && echo "Browse to http://localhost to get started" >> webgoat.log || echo "Browse to http://localhost:8080/WebGoat or http://localhost:9090/WebWolf to get started." >> webgoat.log
}
function tail_log_file() {