Re: "service" command like that in Red Hat
On Thu, Apr 22, 2004 at 10:13:42AM -0500, John Hasler wrote:
> 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?
Are we after RedHat compatibility or a command with the same name with
Debian's policy layer bolted on?