Services, how does it work?

Paul Howarth paul at city-fan.org
Fri Aug 19 10:09:09 UTC 2005


Matthias Bauw wrote:
> hi there,
> 
> I have been using fedora linux for quite some time now and I have
> been able to build several software programs from source. But sometimes
> I want that software to start automatically.
> 
> Therefore I would like to add those programs to the 'services' in Fedora,
> but I don't see how it is done.
> 
> Does anyone know a good tutorial that explains how it all works?

You need to write an initscript and put it in /etc/rc.d/init.d. You'll 
find many examples in that directory. You can then configure the service 
to be started automatically (or not) using chkconfig. See "man 
chkconfig" for details.

Paul.




More information about the fedora-list mailing list