Just started using systemd and need to stop and start OpenVPN.
I can successfully start OpenVPN with this for example:
systemctl start email@example.com
and can stop it with:
systemctl stop firstname.lastname@example.org
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?