[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: avoid starting a program during reboot



Hi

you can use chkconfig ( apt-get install chkconfig) command to disable services on boot

root@do1:~/.SpiderOak# chkconfig --list apache2
apache2                   0:off  1:off  2:on   3:on   4:on   5:on   6:off

root@do1:~/.SpiderOak# chkconfig  apache2 off
root@do1:~/.SpiderOak# chkconfig --list apache2
apache2                   0:off  1:off  2:off  3:off  4:off  5:off  6:off

root@do1:~/.SpiderOak# chkconfig  apache2 on

root@do1:~/.SpiderOak# chkconfig --list apache2
apache2                   0:off  1:off  2:on   3:on   4:on   5:on   6:off


Hope it helps

Best regards

--------------------------------------------------------------------------------------
Juan Sierra Pons                                 juan@elsotanillo.net
Linux User Registered: #257202       http://www.elsotanillo.net
GPG key = 0xA110F4FE
Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE
--------------------------------------------------------------------------------------


2013/9/9 lina <lina.lastname@gmail.com>
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,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 522DA000.3090307@gmail.com" target="_blank">http://lists.debian.org/[🔎] 522DA000.3090307@gmail.com



Reply to: