]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Update systemd service name param to match command
authorTerrance <git@terrance.allofti.me>
Tue, 29 Jul 2025 18:00:05 +0000 (19:00 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 31 Jul 2025 12:31:47 +0000 (14:31 +0200)
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 <git@terrance.allofti.me>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
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 <gert@greenie.muc.de>
distro/systemd/openvpn-client@.service.in
distro/systemd/openvpn-server@.service.in

index ae62e8c76fc9a2d7450a7b1be61d20942671a098..c32bb3338aa7c4696287fb984735f0762980e4c4 100644 (file)
@@ -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)
index 5123e0725994629d69eadda22fa8a45c7a2568b0..547f5f54764817050c25fd8190a4f266ef125c6e 100644 (file)
@@ -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)