writing an init.d script

Jay Daniels drs at pointyhats.com
Fri May 7 05:28:23 UTC 2004


On Fri, May 07, 2004 at 12:00:05PM +1000, Ben Stringer wrote:
> 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

just modify one of the startup script in /etc/init.d to start and stop
the program you want to run.

damn it man, how hard can that be;)


jay





More information about the fedora-list mailing list