From: Allan Wind on 13 May 2010 18:50 I use insserv to boot my laptop and used `update-rc.d apache2 remove` to indicate that I do not want apache2 to start on reboot. Indeed this works fine for while. Either an apache2 (apache2.2-common upgrade) or some other package install/upgrade then seems to revert my choice and apache is once again started in reboot. Is there a better way to disable servers from starting? /Allan -- Allan Wind Life Integrity, LLC <http://lifeintegrity.com> -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100513151343.GA3493(a)lifeintegrity.com
From: Stan Hoeppner on 13 May 2010 19:00 Allan Wind put forth on 5/13/2010 10:13 AM: > I use insserv to boot my laptop and used `update-rc.d apache2 > remove` to indicate that I do not want apache2 to start on > reboot. Indeed this works fine for while. Either an apache2 > (apache2.2-common upgrade) or some other package install/upgrade > then seems to revert my choice and apache is once again started > in reboot. > > Is there a better way to disable servers from starting? I just remove the apache link in /etc/rc*.d -- Stan -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BEC846A.7020103(a)hardwarefreak.com
From: Sven Joachim on 14 May 2010 01:50 On 2010-05-14 00:59 +0200, Stan Hoeppner wrote: > Allan Wind put forth on 5/13/2010 10:13 AM: >> I use insserv to boot my laptop and used `update-rc.d apache2 >> remove` to indicate that I do not want apache2 to start on >> reboot. Indeed this works fine for while. Either an apache2 >> (apache2.2-common upgrade) or some other package install/upgrade >> then seems to revert my choice and apache is once again started >> in reboot. >> >> Is there a better way to disable servers from starting? > > I just remove the apache link in /etc/rc*.d This is equivalent to "update-rc.d apache2 remove" and will not persist. The workaround is to keep at least one stop link, then update-rc.d will not recreate the symlinks on package upgrades. In squeeze it is possible to run "update-rc.d disable" and "update-rc.d enable" to disable or enable a service. Sven -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/87iq6r9gts.fsf(a)turtle.gmx.de
|
Pages: 1 Prev: Is acroread blind, or ps2pdf dangerous? Next: gtk-recordMyDesktop |