stop postfix on U14.04?

Tom H tomh0665 at gmail.com
Tue Nov 17 23:26:59 UTC 2015


On Wed, Nov 18, 2015 at 12:48 AM, Brandon Tomlinson
<brandon.tomlinson at rackspace.com> wrote:
> On 11/17/15, 4:44 PM, Dave Stevens <geek at uniserve.com> wrote:
>
>> I want to stop postfix on my U14.04 system. I can "sudo service
>> postfix stop" and that works fine. But a problem is that AC power is
>> flaky. I'm working on that separately but in the meantime postfix
>> restarts when power cycles. I've looked for and found ways to remove
>> postfix but that's overkill - all I want is to prevent it from running
>> even through power cycles until explicitly restarted.
>>
>> Can anyone refer me to a man page or tutorial on that?
>
> ‘sudo update-rc.d -f postfix remove’
>
> That should remove it from the run level stuff.
>
> -Brandon, out!

Please bottom-post.

'update-rc.d -f postfix remove’ will only remove the foo rcX.d
symlinks but they'll be re-installed when foo is upgraded.

Use 'update-rc.d -f postfix disable’ instead.




More information about the ubuntu-users mailing list