[nzlug] Apache Restarting Problems
Cliff Pratt
enkidu at cliffp.com
Wed Mar 19 18:03:15 NZST 2008
Vik Olliver wrote:
> On Wed, 2008-03-19 at 14:17 +1300, Steve Holdoway wrote:
>> Calling /etc/init.d/apache2 stop, checking with ps, then
>> /etc/init.d/apache2 start is best, or sticking a couple of second
>> delay in the script between the stop and start is a common
>> hack/bodge too.
>
> kill -KILL `pgrep apache`
>
> just before the start is a good backstop :)
>
...if a little brutal! Still apache *should* be down by then.
Cheers,
Cliff
More information about the NZLUG
mailing list