system services

Kevin Krammer kevin.krammer at gmx.at
Thu Mar 31 18:26:22 BST 2005


On Thursday 31 March 2005 19:11, Caleb O'Connell wrote:
> I'd like to have service like samba, lisa, cups start at a timed interval
> well after the desktop is loaded.  Right now they all start at boot, can
> xinetd do timed starts? how should it be setup to start on demand, like
> when I want to print, have it start cups when I request print for the file
> menu.

xinetd is for starting-on-demand

Usually there should be both documentation and example configuration in the 
package.

In short there you tell xinetd which protocol (TCP or UDP) and which port a 
certain service uses and it then monitors that port.
When there some activity there, e.g. an application connecting to it, then it 
starts the respective service and lets it handle the request.

For delayed start you could replace the service's link in the runlevel 
directory with a script which starts a background job that first sleeps and 
then calls the actual startup script (the one the original link pointed to)

Or you rename the link so is sorted after the link starting kdm

Cheers,
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20050331/9fa9de84/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list