How to disable openssh-server & my sql server from startup services?
Karl Auer
kauer at biplane.com.au
Sun Mar 9 10:56:04 UTC 2014
On Sun, 2014-03-09 at 10:40 +0100, Mauro Sanna wrote:
> locate the scripts in /etc/init.d and then do a chmod -x
No, DON'T do that.
a) the OP said quite clearly that he was using upstart-controlled
programs
b) using chmod in /etc/init.d will have no effect on most
upstart-controlled programs
c) for programs not controlled by upstart, you will then also be unable
to start the scripts manually (at least not without doing something like
"sudo sh /etc/init.d/progname")
d) it's ugly. Read "man update-rc.d" instead
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882
Old fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A
More information about the ubuntu-users
mailing list