[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)



Tom Browder <tom.browder@gmail.com> wrote:

> The contents of the postfix.service file are;

> [Unit]
> Description=Postfix Mail Transport Agent
> Conflicts=sendmail.service exim4.service
> ConditionPathExists=/etc/postfix/main.cf

> [Service]
> Type=oneshot
> RemainAfterExit=yes
> ExecStart=/bin/true
> ExecReload=/bin/true

> [Install]
> WantedBy=multi-user.target

That unit file does effectivly nothing. It just starts "/bin/true" and
exits.

What it *not* does is starting postfix in any way.

This looks like there should be some other unit files which start the
other daemons belonging to postfix which depend on this unit file, so
you could easily start and stop everything with one command.

Are you sure you only got this one unit file from the postfix developer?

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


Reply to: