[plug] Debian and daemons

Cameron Patrick cameron at patrick.wattle.id.au
Sun Oct 5 15:52:42 WST 2003


On Sun, Oct 05, 2003 at 03:36:32PM +0800, James Devenish wrote:
| In message <3F7FC7B2.5070703 at wasp.net.au>
| on Sun, Oct 05, 2003 at 11:26:42AM +0400, Brad Campbell wrote:
| > Is there a recomended way to not have a daemon start on bootup?
| 
| Not sure what the recommended way is, but the "culprit" is probably
| update-rc.d, which is called by installation scripts. So...not sure how
| you are supposed to get around it.

AFAIK You can't get around it easily like that as update-rc.d refuses to
disable an init script that exists in /etc/init.d and will enable it
again on an upgrade.

*But* all the files in /etc/init.d are conffiles so they won't be
overwritten on an upgrade if you change - so I would tend to stick an
"exit 0" at the top of /etc/init.d/uml-utilities or whatever it is you
want to disable.  If you still want to be able to start it manually this
would be a problem though - perhaps you could kludge around it with
something like

	test -z "${REALLY_START_ME}" && exit 0

There may well be a better way, however.

HTH,

Cameron.
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list