[plug] Debian and daemons
James Devenish
devenish at guild.uwa.edu.au
Sun Oct 5 17:10:26 WST 2003
In message <3598.134.115.6.228.1065344507.squirrel at email.perthimc.asn.au>
on Sun, Oct 05, 2003 at 05:01:47PM +0800, pabs at perthimc.asn.au wrote:
> > 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.
>
> use the -f (force) option for that
>
> eg: update-rc.d -f apache remove
>
> I'd love to know how to make this persistent tho.
This is what I meant about renaming the links from S to K: update-rc.d
won't remove the K variants upon upgrade/uninstallation unless you use
'purge' on removal. Better, upgrade-rc.d won't add an S link if a K link
exists. The downside is that you might not really want to run the script
as a 'stop' script when entering runlevels, but this is probably not an
issue for most people in practice. Sounds like Debian could do with a
proper way of achieving what you guys want.
_______________________________________________
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