Podivne chovani Apache

Dalibor Straka dast na panelnet.cz
Sobota Únor 12 19:17:11 CET 2005


On Sat, Feb 12, 2005 at 06:37:54PM +0100, Petr Vileta wrote:
> No ja tam mam tohle
> 
>   reload)
>         reload
>         ;;
> 
> a tohle
> 
> reload() {
>         echo -n $"Reloading $prog: "
>         killproc $httpd -HUP
>         RETVAL=$?
>         echo
> }

restart  Restarts  the  Apache daemon by sending it a SIGHUP. If the
         daemon is not running, it is started.  This command
         automatically checks the configuration files via configtest
         before initiating the restart to make sure Apache doesn't die.

Podle manu poslani signalu HUP zpusobi restart. Jsou horsi demoni,
jejich restart je bolestivy (bind ztrati cache, squid, ...)

-- Dalibor Straka


Další informace o konferenci Linux