Created
February 26, 2014 13:38
-
-
Save joeymink/9229603 to your computer and use it in GitHub Desktop.
openvpn client startup script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # OpenVPN autostart on boot script | |
| # Originally by Jan: | |
| # http://www.hackerway.ch/2012/12/11/how-to-auto-start-openvpn-client-in-debian-6-and-ubuntu-12-04/ | |
| start on runlevel [2345] | |
| stop on runlevel [!2345] | |
| respawn | |
| exec /usr/sbin/openvpn --status /var/run/openvpn.client.status 10 --cd /etc/openvpn --config /etc/openvpn/client.conf --syslog openvpn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment