Re: avoid starting a program during reboot
On 9/9/13 1:16 PM, lina wrote:
> Hi,
>
> I do not want to start some program, such as apache server, during reboot,
>
> shall I simply remove it from /etc/init.d/ ?
>
> haha ... is it a bit brutal? or lack elegance?
>
> THanks with best regards,
Your default runlevel is 2, so you would look in /etc/rc2.d/ for the
script to remove, actually it is a symlink there. If you want to do it
officially, you could use 'update-rc.d'
update-rc.d -f apache2 remove
That should get it from all the rc?.d directories.
Regards,
/Lars
Reply to: