Re: Linux LSB init script - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Linux LSB init script
Date
Msg-id 603c8f070909171352x57cf1dbfm3dc0e39ac8c4be25@mail.gmail.com
Whole thread Raw
In response to Re: Linux LSB init script  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Linux LSB init script
List pgsql-hackers
On Thu, Sep 17, 2009 at 4:18 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On tor, 2009-09-17 at 11:59 -0500, Kevin Grittner wrote:
>> > Well, in such cases it may be useful to add an option such as
>> > --oknodo to select the idempotent behavior.
>>
>> I found that confusing (as did Robert); how about --lsm-conforming?
>
> s/lsm/lsb/
>
> I'm not so sure that I would label it as LSB, because that is too broad,
> and not very descriptive.
>
> I think this option should only control whether start and stop are
> idempotent.  Other LSB issues such as exit codes ought to become the
> default, or possibly a different option if necessary.

Maybe we should just call it --idempotent.

Or, they could be additional actions, like ensure-start/ensure-stop.

...Robert


pgsql-hackers by date:

Previous
From: Dan Colish
Date:
Subject: Re: generic copy options
Next
From: Tom Lane
Date:
Subject: Re: updated join removal patch