I'm trying to disable OpenVPN from running at startup. I tried changed the setting for AUTOSTART in /etc/default/openvpn from all to none, but that didn't work.
How do I disable OpenVPN from running at startup?
I'm trying to disable OpenVPN from running at startup. I tried changed the setting for AUTOSTART in /etc/default/openvpn from all to none, but that didn't work.
How do I disable OpenVPN from running at startup?
If you are using jessie, check:
systemctl list-units | grep vpn
You should be able to find the name of the service this way (wild guess: openvpn), then:
sudo systemctl disable openvpn
That won't stop it right now, but it should prevent it from starting next boot. You will still be able to start it manually via sudo systemctl start openvpn (and stop it with stop). If you want to re-enable it at boot, use reenable.