writing an init.d script

Ben Stringer ben at burbong.com
Fri May 7 02:00:05 UTC 2004


On Fri, 2004-05-07 at 00:56, Elvio Caruana wrote:
> Why not put it at the end of /etc/rc.local ?

Because then it won't conform to the "service" interface, which allows
starting, stopping and checking the status of daemon processes. (I'd say
"see man service", but there doesn't seem to be a manpage for it).

Init scripts also allow you to start and stop processes based on
runlevels, which can be very handy.

Cheers, Ben






More information about the users mailing list