aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/examples/launchd/README
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/examples/launchd/README')
-rw-r--r--contrib/examples/launchd/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/examples/launchd/README b/contrib/examples/launchd/README
new file mode 100644
index 0000000..67f8d3c
--- /dev/null
+++ b/contrib/examples/launchd/README
@@ -0,0 +1,12 @@
+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