Last active
October 1, 2024 06:46
-
-
Save palmerc/db90baefc9868ce1d26cf7a175b313c5 to your computer and use it in GitHub Desktop.
WireGuard LaunchD Startup
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>no.corporate.wireguard</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<dict> | |
<key>NetworkState</key> | |
<true/> | |
</dict> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/homebrew/bin/wg-quick</string> | |
<string>up</string> | |
<string>/opt/homebrew/etc/wireguard/wg0.conf</string> | |
</array> | |
<key>StandardErrorPath</key> | |
<string>/opt/homebrew/var/log/wireguard.err</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string>/opt/homebrew/sbin:/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin</string> | |
</dict> | |
</dict> | |
</plist> |
Author
palmerc
commented
Aug 15, 2020
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment