Bug#493142: apache2.2-common: init.d stop does not wait for Apache to stop
> The current init.d script for Apache2 calls the function
> apache_stop when using /etc/init.d/apache2 stop, and the function
> apache_sync_stop when using /etc/init.d/apache2 restart.
>
> So, when executing
> /etc/init.d/apache2 stop ; /etc/init.d/apache2 start
> it does not always restart apache2 (as would do /etc/init.d/apache2
> restart), because the init.d stop returns without waiting for
> apache2 to start, and the init.d start sees that apache2 is still
> running so it doesn't start a new instance of Apache.
The init script in lenny already does the right thing. For etch, this
bug is not severe enough for a stable point release. Just modify it
locally. The change will not be overwritten because it's a conffile.
Stefan
Reply to: