#!/bin/bash if ! apache-test ; then echo Configuration check failed. Server not restarted. exit 1 fi sudo -b apache-restart-su &> /dev/null