#!/bin/bash
if [[ -n  $(pgrep apache2) ]]; then
    sudo service apache2 stop      
fi