LPI
201-450 · Question #146
On a Debian based system, which command can be used to stop the apache2 init script from running at boot time once the real script has been removed from /etc/init.d/?
The correct answer is D. update-rc.d apache2 remove. See the full explanation below for the reasoning.
System Startup
Question
On a Debian based system, which command can be used to stop the apache2 init script from running at boot time once the real script has been removed from /etc/init.d/?
Options
- Aupdate-rc.d -d apache2
- Bupdate-rc.d apache2 delete
- Cupdate-rc.d remove apache2
- Dupdate-rc.d apache2 remove
- Eupdate-rc.d delete apache2
How the community answered
(26 responses)- A4% (1)
- B12% (3)
- D81% (21)
- E4% (1)
Topics
#update-rc.d#init scripts#Debian#boot runlevel
Community Discussion
No community discussion yet for this question.