Re: The right way to not start daemons
On Thu, Nov 08, 2001 at 04:43:39PM +0100, Andreas Bombe wrote:
[...]
> A common way to make daemons not start on boot without having to modify
> /etc/init.d scripts would be nice.
update-rc.d -f daemonname remove
update-rc.d daemonname stop 20 0 1 6 .
You have to make at least one Kill- or Start-Link, else
the execution of update-rc.d in the package's postinst-script'll
add start links again if the package is upgraded.
At this time this solution has a flaw. The postinst usually calls
/etc/init.d/daemonname restart
starting the daemon on every ugrade, but switching to invoke-rc.d'll
fix this soon.
cu andreas
Reply to: