On Tue, Sep 12, 2017 at 09:57:17PM -0700, xiedeacc wrote:

> you're right, I'm learning to write a systemd style script, but not familiar
> with postmulti

Start scripts don't need to know anything about postmulti.  The
whole point of the design is that "postfix start" starts all
the relevant Postfix instances.

Fancy peeking under the hood is only needed if the init system
wants to keep track of all the Postfix instances after they're
started.  This is rarely needed, Postfix does not have a habit of
crashing or exiting silently, ...  Proper monitoring detects any
downtime without any need for init integration.  Indeed if Postfix
was crashing, it is not clear that you'd want the init system
to take any automated action.

Just go with a SysV init.d style script if still possible with
systemd.

-- 
        Viktor.

Reply via email to