File: http://svn.grimore.org/configuration-templates/monit/macOS/templates/openvpn -

###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################
 
# The file assumes the following configuration:
#  * the openvpn launchd file is located at: /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist
#  * tap0 is the TAP interface.
#  * 1.1.1.1 is the point-to-point VPN gateway.
 
check process openvpn with pidfile /usr/local/var/run/openvpn/tap0.pid
   start program = “/bin/launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
   stop program = "/bin/launchctl unload /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
 
check host tap0 with address 1.1.1.1
   start program = "/bin/launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
   stop program = "/bin/launchctl unload /Library/LaunchDaemons/homebrew.mxcl.openvpn.plist"
    if failed
        icmp type echo count 5 with timeout 15 seconds
    then restart

unix/monit/macos/templates/openvpn.txt · Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.