 b30e74b595
			
		
	
	
		b30e74b595
		
	
	
	
	
		
			
			This causes wg-quick up to wait for the monitor to exit before it exits, so that launchd can correctly wait on it. Reported-by: Cameron Palmer <cameron@promon.no> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			419 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			419 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 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
 |