Skip to content

Commit b6abfed

Browse files
committed
highlight server url
1 parent 3e2c935 commit b6abfed

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

config/startupservice.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/bash
2+
set -o errexit
3+
set -o nounset
4+
5+
# https://en.wikipedia.org/wiki/ANSI_escape_code
6+
E0="$(printf "\e[0m")" # reset
7+
E1="$(printf "\e[1m")" # bold
28

39
/sbin/apache2ctl -v
4-
echo 'Starting webserver: http://127.0.0.1:8080'
10+
echo "${E1}Starting webserver: http://127.0.0.1:8080${E0}"
511
# Start Apache in the foreground
612
/sbin/apache2ctl -D FOREGROUND -k start

0 commit comments

Comments
 (0)