Any way to make service do not autostart in Ubuntu/Debian, but leave K00 scripts in place?
Posted
by Evgenyt
on Server Fault
See other posts from Server Fault
or by Evgenyt
Published on 2010-06-17T10:14:40Z
Indexed on
2010/06/17
10:24 UTC
Read the original article
Hit count: 260
I need to have only stop scripts in rcN.d (runlevels 0,1,6) for apache2. So that I always start it by myself, but when reboot occurs server will shut down apache2 properly. And when I change runlevel 2-3 server doesnt' touch apache daemon (leaving it in the state it is).
Basically, I just need a legal way to remove apache2 startup symlinks from rc2.d -> rc5.d. With tools like update-rc.d.
I can just remove those symlinks by hands, but I'm not sure if this is a proper way for this.
© Server Fault or respective owner