Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Hasan Muhammad on January 07, 2004, 10:06:26 PM

Title: How to keep a service from starting at boot?
Post by: Hasan Muhammad 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
Title: Re: How to keep a service from starting at boot?
Post by: Derek L. 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
Title: Re: How to keep a service from starting at boot?
Post by: Hasan Muhammad 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%]
Title: Re: How to keep a service from starting at boot?
Post by: Graeme Fleming on January 08, 2004, 04:57:43 AM
Use service control contrib