[Pkg-mailman-hackers] Bug#881329: systemd service

Pierre-Elliott Bécue becue at crans.org
Sat Nov 11 16:46:33 UTC 2017


Le vendredi 10 novembre 2017 à 13:22:39+0100, Stefan Bühler a écrit :
> Hi again,
> 
> I had to add
> 
> RestartPreventExitStatus=1
> 
> in [Service], because on certain failures (e.g. broken permissions in
> the lock directory) mailmanctl forks and exits (which systemd considers
> a successful start), and then the fork exits with status code 1.
> Because it was started "successfully", systemd will trigger a restart
> without limit...
> 
> It would be better if mailmanctl supported a flag to not fork mailmanctl
> itself, but just run in the foreground (no need to close std{in,out,err}
> either).  systemd (and other supervising init systems) can handle that
> way better.
> 
> cheers,

Thijs, do you want to take care of it or would you like me to have a look?

In that case I'd require your sponsorship for the upload.

Cheers,

-- 
PEB



More information about the Pkg-mailman-hackers mailing list