[Bug 912716] [NEW] [improvement] allow graceful-stop via the init.d script
Kingsquare
912716 at bugs.launchpad.net
Fri Jan 6 11:46:35 UTC 2012
Public bug reported:
The apache2ctl allows more options than the current service/init.d
script..
I would like to the see graceful-stop option included into the init.d
script aswell:
graceful-stop)
if ! $APACHE2CTL configtest > /dev/null 2>&1; then
$APACHE2CTL configtest || true
log_end_msg 1
exit 1
fi
log_daemon_msg "Reloading web server config" "apache2"
if pidof_apache > /dev/null ; then
if $APACHE2CTL graceful-stop $2 ; then
log_end_msg 0
else
log_end_msg 1
fi
fi
;;
I just copied and pasted the graceful handling into a simple graceful-
stop (this might be made more elegant... but i'm no real *nix devver)
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: improvement
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/912716
Title:
[improvement] allow graceful-stop via the init.d script
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/912716/+subscriptions
More information about the Ubuntu-server-bugs
mailing list