openrc/support/openvpn
William Hubbs 9047ea4cb0 install support files
These files have been in the distribution for some time but haven't been
installed. They are good examples of how to do things, so we should
install them.
2017-02-18 15:52:28 -06:00
..
down.sh Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00
Makefile install support files 2017-02-18 15:52:28 -06:00
README.md support: rename all README files to README.md 2017-02-17 12:29:11 -06:00
up.sh Convert OpenRC to a centralized copyright/license structure 2015-12-21 12:16:06 -06:00

These handy scripts setup any dns information that OpenVPN may push. They also handle the interaction with OpenRC so that the OpenVPN service can become "inactive". This means that when it starts, it goes inactive and OpenRC continues on its merry way booting the system. When OpenVPN connects to an endpoint it then re-starts the OpenVPN service and starts up any services that depend on us. A similar thing happens when we shut down.

Of course, this is all optional.