#!/usr/bin/env bash # Include decorator if [ "$(type -t run)" != "function" ]; then BASEDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd ) . ${BASEDIR}/helper.sh fi # Remove Apache2 service if exist if [[ -n $(which apache2) ]]; then warning "It seems Apache web server installed on this machine. We should remove it!" read -t 10 -p "Press [Enter] to continue..."