mirror of
https://git.zx2c4.com/wireguard-tools
synced 2024-11-10 16:59:19 +00:00
9a7e4364b1
The current plist xml gets error "DOCTYPE improperly terminated" with xml syntax checker[1]. The example in apple doc[2] also doesn't have semicolon at the end of DOCTYPE line. [1] https://www.w3schools.com/xml/xml_validator.asp [2] https://opensource.apple.com/source/launchd/launchd-257/launchd/doc/HOWTO.html Fixes: b30e74b5956a ("wg-quick: darwin: support being called from launchd") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.. | ||
com.wireguard.wg0.plist | ||
README |
WireGuard for Launchd ===================== The example `com.wireguard.wg0.plist` file may be used for running wg-quick(8) as a launchd service. Note that the `PATH` variable is modified to point to the PATH used by Homebrew or Macports, so that it uses the non-system bash(1). Usage ----- $ sudo cp com.wireguard.wg0.plist /Library/LaunchDaemons $ sudo launchctl load /Library/LaunchDaemons/com.wireguard.wg0.plist