PDA

View Full Version : Failed to re/start openvpn.service: Unit not found. - How to start OpenVPN server



Fli
04-20-2018, 10:20 PM
service openvpn restart


Redirecting to /bin/systemctl restart openvpn.service
Failed to restart openvpn.service: Unit not found.

Try:

systemctl restart openvpn@server

"server" may be name of the config file in $ ls /etc/openvpn -l|grep conf
mine was server.conf

Even if systemctl command return no result, service was restarted, verify:

systemctl status openvpn@server