Control: tags -1 + upstream

On 30/03/25 01:12 AM, Richard Hector wrote:

> When I accidentally start an unconfigured instance of openvpn-server@
> (or, probably, openvpn-client@), it fails to start, but keeps trying
> to start it every 5s.
> 
> This could happen from a typo, or from attempting to start the wrong
> end of the tunnel, or similar scenarios.
> 
> A method that seems to work is to add to the unit file:
> 
> [Unit]
> AssertPathExists=/etc/openvpn/server/%i.conf
> 
> I don't know whether %i or %I is better there.

I think your proposal makes sense (should be %i because that's what we
use in ExecStart=). However, [email protected] and
[email protected] come directly from upstream and I don't want to
diverge from upstream here.

Please file a bug at https://github.com/OpenVPN/openvpn

Bernhard

Reply via email to