From: Terrance Date: Tue, 29 Jul 2025 18:00:05 +0000 (+0100) Subject: Update systemd service name param to match command X-Git-Tag: v2.7_alpha3~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8854550d4da0b29af122723def898d38e6b3fea2;p=thirdparty%2Fopenvpn.git Update systemd service name param to match command The service name displays `%I` which invokes systemd's path mangling (notably, converting `-` to `/`), suggesting you need to provide an encoded parameter (via e.g. `systemd-escape`), but the start command itself uses `%i` which doesn't do the conversion. This updates the service name to match the start command. Signed-off-by: Terrance Acked-by: Frank Lichtenheld Message-Id: <20250729180014.11550-2-sourceforge@terrance.allofti.me> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32423.html Signed-off-by: Gert Doering --- diff --git a/distro/systemd/openvpn-client@.service.in b/distro/systemd/openvpn-client@.service.in index ae62e8c76..c32bb3338 100644 --- a/distro/systemd/openvpn-client@.service.in +++ b/distro/systemd/openvpn-client@.service.in @@ -1,5 +1,5 @@ [Unit] -Description=OpenVPN tunnel for %I +Description=OpenVPN tunnel for %i After=network-online.target Wants=network-online.target Documentation=man:openvpn(8) diff --git a/distro/systemd/openvpn-server@.service.in b/distro/systemd/openvpn-server@.service.in index 5123e0725..547f5f547 100644 --- a/distro/systemd/openvpn-server@.service.in +++ b/distro/systemd/openvpn-server@.service.in @@ -1,5 +1,5 @@ [Unit] -Description=OpenVPN service for %I +Description=OpenVPN service for %i After=network-online.target Wants=network-online.target Documentation=man:openvpn(8)