Hi Mark,

On Sun, 22 Sep 2019 15:05:19 +0200 Marc Haber
<mh+debian-packa...@zugschlus.de> wrote:
> 1 [4/4992]mh@torres:~ $ sudo systemctl cat openvpn@.service
> /lib/systemd/system/openvpn@.service
> [Unit]
> Description=OpenVPN connection to %i
> 
> leads to the misleading output "OpenVPN connection to server" when an
> OpenVPN instance called "server" is started which doesnt connect
> anywhere but instead waits for an incoming connection.
> 
> Maybe this should be re-worded like "OpenVPN instance (%i)".

While "instance" indeed aligns better with the systemd concept, I
believe the newer units have better descriptions:

$ systemctl cat openvpn@.service \
    openvpn-server@.service \
    openvpn-client@.service | grep Description
Description=OpenVPN connection to %i
Description=OpenVPN service for %I
Description=OpenVPN tunnel for %I

The openvpn@.service variant should probably be avoided but is
supposedly kept for backward compatibility.

HTH,
Simon

Reply via email to