Skip to content

Instantly share code, notes, and snippets.

@chino
chino / network.watcher.plist
Last active June 3, 2020 10:46 — forked from prehensile/prehensile.networkwatcher.plist
osx launchd configuration to run a script every time system configuration (including networking) changes occur
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>network.watcher</string>
<key>ProgramArguments</key>
<array>
<string>/Users/danaqu/bin/docker-vpn-fix.sh</string>