[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Fwd: Restarting Apache via a script]



Robert Vangel wrote:

Simon wrote:

And following on from this question... What is the bext way to restart apache once confiuration is deemed correct?

/etc/init.d/apache2 restart ?

I've always liked reload as opposed to restart, because reload just sends apache a hiccup and doesn't drop any current connections. Restart kills all the processes then starts it back up.

I had thought that there are some configuration changes that you need to do a full restart to make stick? Is this correct?

/etc/init.d/apache2 reload performs a:
/usr/sbin/apache2ctl graceful





Reply to: