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

Re: "service" command like that in Red Hat

Joey writes:
> 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.

'--force' takes care of that.  Not sure I want to use it by default,
though.  Might be better to return a diagnostic.
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI

Reply to: