Re: "service" command like that in Red Hat
On Wed, Apr 21, 2004 at 01:59:08PM -0400, Joey Hess wrote:
> John Hasler wrote:
> > I'm considering adding a "service" command similar to the one in Red Hat to
> > the sysvconfig package. It would be little more than a link to
> > invoke-rc.d. Are there any objections? It occurred to me that the use of
> > such a generic name might give rise to some opposition.
> Have you considered the effects of local or future policy-rc.d scripts?
> This could make commands like "service foo start" not do anything,
> because the policy for that runlevel forbade it. But I think the
> expectation of a "service" command is it always stops or starts a
> service as the admin commands, not taking such a runlevel policy into
> account. Then again, I have never used the command on Red Hat, maybe I'm
Yeah, from my experience, service could boil down to just:
I'm fairly certain it would do it's thing irrespective of whether the
service was supposed to be running in that runlevel.
Andrew (Red Hat Certified Dweeb)