[Pm-utils] RFC - PATCH to functions.in to support Slackware init

Robby Workman rw at rlworkman.net
Tue Oct 7 17:23:39 PDT 2008


On Tue, 07 Oct 2008 23:01:30 +0200
Stefan Seyfried <seife at suse.de> wrote:

> Robby Workman wrote:
> 
> > +# Also, we (Slackware) have some init scripts that don't have a
> > "status" +# directive in them, so maybe using that to check if
> > something is running +# won't always work.
> 
> OTOH "service" and the "status" method of init scripts is LSB since
> quite some time IIUC, so why not just fix the slackware init scripts?
> 
> > Is "pgrep $service" acceptable (although that will
> > +# still miss stuff due to the above paragraph's concerns)?
> 
> If you just implement a "status" function in those init scripts, then
> everything is fine. The script should know what to grep for.


Yep, that's currently the plan, as it's definitely the obvious (and
best) choice, at least at this point.  Making changes solely for LSB
compliance isn't too high on the list of priorities, but since there
are some *real* benefits to this, it's an easy decision, I think.

-RW


More information about the Pm-utils mailing list