Don't know if daemon is the right word, I want to make a program that will always be running in the background, waiting for something to happen. In this case I want it to wait for me to get disconnected from my VPN, then it will reconnect me. Basically, I need it to make sure I am always connected to a VPN. What kinda programming concepts do I need to know for this? Can this be done with bash scripting? If not, I suppose I'll use java.