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

Re: [cobalt-users] Suspending users & sites



Hi!

> >what is wrong with using
> >/etc/rc.d/init.d/sendmail <start><stop><hard-restart><restart>
> >where <> are options
> >Gerald
>
> Err... I dunno. If the script is there in init.d, then I'd assume it's
safe
> and there's nothing wrong with it. Then it's probably also in chkconfig
> (chkconfig --list sendmail) and you could also use:
>
> service sendmail restart
>
> to do the same thing; also safely. I'll check once I get back to my
server.

IIRC, a "kill -HUP" only forces a process/daemon to reread its config files.
When issueing a "/etc/rc.d/init.d/[daemon]
[restart]" the daemon shuts down and starts directly afterwards, in effect
rereading its config files.

The big difference might be that your daemon is unavailable for about maybe
a second or so (I'm just guessing here). Sendmail is pretty rough AFAIK and
might be down for more than one second.

My two cents... Nico