Disable autostart from mysql
Tom H
tomh0665 at gmail.com
Sun Mar 6 19:31:38 UTC 2011
On Sun, Mar 6, 2011 at 1:55 PM, Hartmut <freemlist at googlemail.com> wrote:
>
> 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?
This LSB header only applies if you're using insserv.
The items listed in "Required-Start" are facilities that must be
available to start the script.
The items listed in "Should-Start" are facilities that must be
available to start the script if they're installed.
insserv uses this information to number the rcX.d symlinks.
As with upstart, update-rc.d'll not manage postfix's startup if you're
using insserv.
More information about the ubuntu-users
mailing list