On 07/09/2017 11:13, Gert Doering wrote: > Hi, > > On Thu, Sep 07, 2017 at 11:04:01AM +0300, Samuli Seppänen wrote: >> "Note that units which are configured for Restart= and which reach the >> start limit are not attempted to be restarted anymore; however, they may >> still be restarted manually at a later point, from which point on, the >> restart logic is again activated." > > Which is not what I hoped for... "turn it off and leave it so" is non > helpful (it might be a transient error preventing the startup). >
Good point. Systemd seems to be able to adjust its restart behavior depending on exit code of the main service process (i.e. OpenVPN) using "RestartForceExitStatus" and "RsstartPreventExitStatus"[1]. Perhaps these could be helpful in our case... -- Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock [1] <https://www.freedesktop.org/software/systemd/man/systemd.service.html> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel