On OSX 10.10 I created a
plist file in
/Library/LaunchDaemons/ to start at launch an OpenVPN connection. However I encountered DNS problems when going from an internet interface to another (as WiFi to LAN Network) and thought that I needed to restart my OpenVPN daemon with
launchctl to fix it.
But with this method I need to go to a console, type a monstrous
launchctl's command with
sudo and, of course, type my admin password.
I can't find this method optimized, so I would love to know another way to restart my daemon without typing anything or less !