Koozali.org: home of the SME Server

How to keep a service from starting at boot?

Hasan Muhammad

How to keep a service from starting at boot?
« on: January 07, 2004, 10:06:26 PM »
How to keep a service from starting at boot?

A crude way is to rename the file in /etc/rc.d/rc.init ...

But there has to be a more elagant solution.

Thanks in advance,

Hasan

Derek L.

Re: How to keep a service from starting at boot?
« Reply #1 on: January 07, 2004, 10:35:58 PM »
# /sbin/e-smith/db configuration setprop atalk status disabled
# /sbin/e-smith/signal-event console-save

Replace "atalk" with the name of the service you want to disable.

To see service status:

/sbin/e-smith/config show (service name) or blank for all

Hasan Muhammad

Re: How to keep a service from starting at boot?
« Reply #2 on: January 07, 2004, 11:39:09 PM »
A further question (and hopefully an answer) to this problem is posted at...
http://forums.contribs.org/index.php?topic=19389.msg76806#msg76806

which is...

How would we 'template-custom' such 'run-only-once' commands
so that there would be a permanent record of changes to the default installation?

[%sig%]

Graeme Fleming

Re: How to keep a service from starting at boot?
« Reply #3 on: January 08, 2004, 04:57:43 AM »
Use service control contrib