#! /bin/sh -e cat - > /dev/null if [ -d "%apache2_rpmfiletriggerdir" ]; then if [ -e "%apache2_rpma2chkconfigfile" ]; then %apache2_sbindir/a2chkconfig >/dev/null fi if [ -e "%apache2_rpmhttpdrestartfile" ] \ || [ -e "%apache2_rpmhttpdstartfile" ] \ || [ -e "%apache2_rpma2chkconfigfile" ]; then /sbin/service %apache2_dname condrestart fi if [ -e "%apache2_rpmhttpdstartfile" ] \ && [ ! -e "%apache2_httpdlockfile" ]; then /sbin/service %apache2_dname start fi fi exit 0