Services, how does it work?

Efthym efthym at gmx.net
Fri Aug 19 10:38:35 UTC 2005


On Fri, 19 Aug 2005 13:45:31 +0300, <akonstam at trinity.edu> wrote:

> On Fri, Aug 19, 2005 at 11:09:09AM +0100, Paul Howarth wrote:
>> 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.
> I would just like to emphasize that in order for your initscripts to
> work with chkconfig there are lines that must be inserted in the
> beginning of the script that makes that possible. Check nay of the
> existing scripts in /etc/rc.d/init.d to see how that is done.

I also noticed an option in Service Configuration->Actions->Add Service.  
When I tried it though, I got an "error" window popup, but nothing was  
written in it!!
And the service name was not added....Bug maybe ?

[root at purgatory ~]# rpm -q system-config-services
system-config-services-0.8.25-1




More information about the fedora-list mailing list