What's the difference between /etc/init.d and /sbin/service

Tom Horsley tom.horsley at att.net
Sat Apr 18 14:44:18 UTC 2009


On Sat, 18 Apr 2009 22:32:37 +0800
Nathan Huang wrote:

> I face a problem, What 's the difference between these two commands?

Nothing much, there just happens to be an assortment of different
ways to get service scripts going (which is, naturally, completely
different on different linux distros).

Direct invocation of /etc/init.d/ scripts is more likely to work on
many different distros, but even it doesn't always works as some
distros don't install the scripts with the execute bit turned on.

It is all part of the international conspiracy to make cross-distro
system administration as difficult as possible :-).




More information about the fedora-list mailing list