status) PID=$(pidof_apache)
if [ -n "$PID" ]; then log_success_msg "Apache is running (pid $PID)." exit 0 else log_failure_msg "Apache is not running." exit 1
fi
;;
to /etc/init.d/apache2 before *).
This of course, doesn't mean that there's no bug in configuration parser in rgmanager.
Real fix would be adding:
status)
PID=$ (pidof_ apache)
log_ success_ msg "Apache is running (pid $PID)."
exit 0
else
log_ failure_ msg "Apache is not running."
exit 1
if [ -n "$PID" ]; then
fi
;;
to /etc/init.d/apache2 before *).
This of course, doesn't mean that there's no bug in configuration parser in rgmanager.