diff --git a/bin/v-restart-web b/bin/v-restart-web index 7962b302..78c1e7a5 100755 --- a/bin/v-restart-web +++ b/bin/v-restart-web @@ -50,7 +50,9 @@ rc=$? # Workaround for Ubuntu 12.04 if [ "$WEB_SYSTEM" == 'apache2' ]; then - if [ ! -e "/var/run/apache2.pid" ]; then + pid1='/var/run/apache2.pid' + pid2='/var/run/apache2/apache2.pid' + if [ ! -e "$pid1" ] && [ ! -e "$pid2" ]; then rc=1 fi fi