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

Re: "service" command like that in Red Hat



* "Julian Mehnle" 

| Tollef Fog Heen wrote:
| > * Andrew Pollock
| > > Are we after RedHat compatibility or a command with the same name with
| > > Debian's policy layer bolted on?
| >
| > Since it's a RH compatibility command, the former.
| 
| Is it, really?  Or is it a convenience command, which happens to be
| similar to the Red Hat one, but has more capabilities because it's Debian?
|
| I don't think there's a need to be 100% Red Hat compliant here.

I think following the principle of least surprise is a good thing; if
I ask a service to start using service foo start or /etc/init.d/foo
start, it should start, no matter what the runlevel policy says.

This follows the usual principle of command line overrides environment
which in turn overrides user configuration files which override global
configuration files.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



Reply to: