How to disable openssh-server & my sql server from startup services?
Mauro Sanna
mrsanna1 at gmail.com
Sun Mar 9 09:40:58 UTC 2014
locate the scripts in /etc/init.d and then do a chmod -x
On 9 March 2014 08:40, Karl Auer <kauer at biplane.com.au> wrote:
> On Sun, 2014-03-09 at 12:49 +0530, Navdeep Singh Sidhu wrote:
> > But how to disable them from starting on startup, bcz these tools made my
> > computer bootup very slow. Using ubuntu 12.04.
>
> Locate the upstart configuration files for the programs; they should be
> in /etc/init
>
> Using your favourite text editor, add the single word "manual" after
> anything else in the "start on" section for the programs' config files.
>
> After you save your changes, you will find that the programs will only
> start when you ask them to - not on startup. However, they will still
> STOP under the same conditions as before. If you want to prevent that
> too, change the "stop on" stanza as well. Not recommended for MySQL,
> which definitely should be shut down in an orderly fashion.
>
> For full details on these config files, see "man 5 init". From that man
> page:
>
> manual This stanza will disregard any previously seen start on
> definition. By adding this stanza on any line below the
> start on definition, it provides the ability to stop a
> job from being automatically started. When specified,
> the only way to start such a job is via start (8).
>
> 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
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140309/7404ab8b/attachment.html>
More information about the ubuntu-users
mailing list