Disable autostart from mysql

Hartmut freemlist at googlemail.com
Sun Mar 6 18:55:11 UTC 2011


On Sun, Mar 6, 2011 at 5:21 PM, J <dreadpiratejeff at gmail.com> wrote:
> On Sun, Mar 6, 2011 at 10:37, Colin Law <clanlaw at googlemail.com> wrote:
>> On 6 March 2011 14:41, Hartmut <freemlist at googlemail.com> wrote:
>>> Hi,
>>>
>>> how can I disable the autostart from mysql during boot? I removed
>>> mysql from all runlevels with 'sudo update-rc.d -f mysql remove', but
>>> mysql is still running after system boot.
>>
>> Assuming you are running 10.10 or above then you could install
>> jobs-admin which provides a graphical interface for controlling
>> services.
>
> Also, you could look in /etc/init.d for startup scripts, or if you're
> running desktop and not server, also look in /etc/xdg/autostart/
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

the script /etc/init.d/postfix shows like:
--------------
$ cat /etc/init.d/postfix
#!/bin/sh -e

# Start or stop Postfix
#
# LaMont Jones <lamont at debian.org>
# based on sendmail's init.d script

### BEGIN INIT INFO
# Provides:          postfix mail-transport-agent
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
# Required-Stop:     $local_fs $remote_fs $syslog $named $network
# Should-Start:      postgresql mysql clamav-daemon postgrey spamassassin
# Should-Stop:       postgresql mysql clamav-daemon postgrey spamassassin
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start and stop the Postfix Mail Transport Agent
# Description:       postfix is a Mail Transport agent
### END INIT INFO
-----------
Is the "Should-Start:" only an Information or is it analysed by a
script and this starts my mysql?




More information about the ubuntu-users mailing list