Re: Systemd dependencies

2018-02-27 Thread Michael Meskes
> On Mon, 26 Feb 2018, Michael Meskes wrote: > > Actually it's the other way round. I need my program, clamsmtp, to > > start before postfix. I haven't checked with the other MTAs to be > > honest. So I guess I could try only adding postfix and see if > > somebody > > reports a problem. > ... Turn

Re: Systemd dependencies

2018-02-26 Thread Don Armstrong
On Mon, 26 Feb 2018, Michael Meskes wrote: > Actually it's the other way round. I need my program, clamsmtp, to > start before postfix. I haven't checked with the other MTAs to be > honest. So I guess I could try only adding postfix and see if somebody > reports a problem. Wouldn't this normally b

Re: Systemd dependencies

2018-02-26 Thread Michael Meskes
> In which case, if it is postfix, you could just ignore it. It knows > to > try again any transports that fail, it knows to do controlled backoff > and all that jazz, does so by default, and has sane defaults even. > > But it will pester you in the logs about it, though. That's unfortunately no

Re: Systemd dependencies

2018-02-26 Thread Michael Meskes
> > Actually it's the other way round. I need my program, clamsmtp, to > > start before postfix. I haven't checked with the other MTAs to be > > honest. So I guess I could try only adding postfix and see if > > somebody > > reports a problem. > > No, this is no reason to introduce such sequence po

Re: Systemd dependencies

2018-02-26 Thread Henrique de Moraes Holschuh
On Mon, 26 Feb 2018, Roberto C. Sánchez wrote: > On Mon, Feb 26, 2018 at 11:53:27AM +0100, Bastian Blank wrote: > > On Mon, Feb 26, 2018 at 11:13:03AM +0100, Michael Meskes wrote: > > > > However I really would start one step before. What exactly do you > > > > think > > > > a service dependency o

Re: Systemd dependencies

2018-02-26 Thread Roberto C . Sánchez
On Mon, Feb 26, 2018 at 11:53:27AM +0100, Bastian Blank wrote: > On Mon, Feb 26, 2018 at 11:13:03AM +0100, Michael Meskes wrote: > > > However I really would start one step before. What exactly do you > > > think > > > a service dependency on "mail-transport-agent" does provide you? > > Actually i

Re: Systemd dependencies

2018-02-26 Thread Bastian Blank
On Mon, Feb 26, 2018 at 11:13:03AM +0100, Michael Meskes wrote: > > However I really would start one step before. What exactly do you > > think > > a service dependency on "mail-transport-agent" does provide you? > Actually it's the other way round. I need my program, clamsmtp, to > start before p

Re: Systemd dependencies

2018-02-26 Thread Michael Meskes
> You can have aliases, like there exists one in form of > syslog.service. > For such aliases you just define normal After/Wants/Requires entries. I could, but we don't have this implemented, right? > However I really would start one step before. What exactly do you > think > a service dependenc

Re: Systemd dependencies

2018-02-26 Thread Michael Biebl
Am 26.02.2018 um 10:29 schrieb Bastian Blank: > Hi Michael > > On Mon, Feb 26, 2018 at 09:46:22AM +0100, Michael Meskes wrote: >> do we have something like virtual entities for systemd service files? In SysV >> we could require that mail-transport-agent was started before starting a >> service. Bu

Re: Systemd dependencies

2018-02-26 Thread Simon McVittie
On Mon, 26 Feb 2018 at 09:46:22 +0100, Michael Meskes wrote: > do we have something like virtual entities for systemd service files? In SysV > we could require that mail-transport-agent was started before starting a > service. But how is this supposed to be handled with systemd? systemd targets pr

Re: Systemd dependencies

2018-02-26 Thread Bastian Blank
Hi Michael On Mon, Feb 26, 2018 at 09:46:22AM +0100, Michael Meskes wrote: > do we have something like virtual entities for systemd service files? In SysV > we could require that mail-transport-agent was started before starting a > service. But how is this supposed to be handled with systemd? You

Systemd dependencies

2018-02-26 Thread Michael Meskes
Hi all, do we have something like virtual entities for systemd service files? In SysV we could require that mail-transport-agent was started before starting a service. But how is this supposed to be handled with systemd? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes d