Автоматически запускаемые приложения
Krosheninnikov Artem
feeblehamster на mail.ru
Ср Янв 29 18:35:07 UTC 2014
Спасибо! А mysql - хрен с ней, явно не нужна на рабочей машине.
29.01.2014 21:29, Dmitry Agafonov пишет:
> Ах, с mysql (использует upstart) вот такая каша:
>
> Since Upstart 1.3 we can tell a service to only start when we want to:
>
> |sudo sh -c "echo 'manual' > /etc/init/SERVICE.override"
> |
>
> where the stanza *manual* will stop Upstart from automatically loading
> the service on next boot. Any service with the *.override* ending will
> take precedence over the original service file. You will only be able
> to start the service manually afterwards. If you do not want this then
> simply delete the *.override*. For example:
>
> |sudo sh -c "echo 'manual' > /etc/init/mysql.override"
> |
>
> Will put the MySQL service into "manual" mode. If you do not want
> this, afterwards you can simply do
>
> |sudo rm /etc/init/mysql.override
> |
>
> and Reboot for the service to start automatically again.
>
>
>
>
> 29 января 2014 г., 21:22 пользователь Dmitry Agafonov
> <agafonovdmitry на gmail.com <mailto:agafonovdmitry на gmail.com>> написал:
>
> Примерно так:
> sudo update-rc.d SERVICE disable
>
>
> --
> Dmitry Agafonov ~ http://agafonov.pp.ru/
>
>
>
>
> --
> Dmitry Agafonov ~ http://agafonov.pp.ru/
>
>
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <https://lists.ubuntu.com/archives/ubuntu-ru/attachments/20140129/2865dc9d/attachment-0001.html>
More information about the ubuntu-ru
mailing list