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

Re: "service" command like that in Red Hat

Andrew writes:
> Yeah, from my experience, service could boil down to just:

> #!/bin/sh
> /etc/init.d/$1 $2

> I'm fairly certain it would do it's thing irrespective of whether the
> service was supposed to be running in that runlevel.

Takes a bit more than that to be fully compatible with the Red Had service
command.  Besides, I'm not at all sure that service shouldn't honor
policy-rc.  Opinions?
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI

Reply to: