configuration-templates – Diff between revs 32 and 41

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 32 Rev 41
Line 1... Line 1...
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
4   4  
-   5 # The file assumes the following configuration:
5 # The file assumes the following configuration: 6 # * the openvpn launchd file is located at: /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist
6 # * tap0 is the TAP interface. 7 # * tap0 is the TAP interface.
Line 7... Line 8...
7 # * 1.1.1.1 is the point-to-point VPN gateway. 8 # * 1.1.1.1 is the point-to-point VPN gateway.
8   9  
9 check process openvpn with pidfile /usr/local/var/run/openvpn/tap0.pid 10 check process openvpn with pidfile /usr/local/var/run/openvpn/tap0.pid
Line 10... Line 11...
10 start program = "launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist" 11 start program = “/bin/launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
11 stop program = "launchctl unload /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist" 12 stop program = "/bin/launchctl unload /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
12 13
13 check host tap0 with address 1.1.1.1 14 check host tap0 with address 1.1.1.1
14 start program = "launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist" 15 start program = "/bin/launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
15 stop program = "launchctl unload /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist" 16 stop program = "/bin/launchctl unload /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
16 if failed 17 if failed