Re: Making start/stop idempotent

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 30 Oct 2008 10:59:01 -0600

On Thu, 2008-10-30 at 00:58 +0100, Henrik Nordstrom wrote:
> On tor, 2008-10-30 at 10:03 +1100, Mark Nottingham wrote:
> > Hmm, good point. My aim was just start and stop. Seem reasonable to
> > just limit it to those two?
>
> Yes. And maybe maybe rotate.

Perhaps rotate should continue to fail. Those who do not like that, can
always do something like "!check || rotate" in their cron jobs, right?

In general, an operation that cannot accomplish its goal should fail. I
am not going to fight against shutdown pretending that it has shutdown
Squid, but faking rotate is more dangerous than convenient, IMO.

Thanks,

Alex.
Received on Thu Oct 30 2008 - 16:59:29 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 31 2008 - 12:00:06 MDT