Just started using systemd and need to stop and start OpenVPN.
I can successfully start OpenVPN with this for example:
systemctl start firstname.lastname@example.org
and can stop it with:
systemctl stop email@example.com
However I'd like to be able to stop openvpn within a script without having to know which VPN is currently connected. Previously I would use:
service stop openvpn
Is this possible using systemctl?