 4bc6ef0089
			
		
	
	
		4bc6ef0089
		
	
	
	
	
		
			
			Since wg-quick(8) calls wg(8) which does hostname lookups, we should probably only run this after we're allowed to look up hostnames. Reported-by: Anton Castelli <anton.c42@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			590 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			590 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| [Unit]
 | |
| Description=WireGuard via wg-quick(8) for %I
 | |
| After=network-online.target nss-lookup.target
 | |
| Wants=network-online.target nss-lookup.target
 | |
| Documentation=man:wg-quick(8)
 | |
| Documentation=man:wg(8)
 | |
| Documentation=https://www.wireguard.com/
 | |
| Documentation=https://www.wireguard.com/quickstart/
 | |
| Documentation=https://git.zx2c4.com/WireGuard/about/src/tools/man/wg-quick.8
 | |
| Documentation=https://git.zx2c4.com/WireGuard/about/src/tools/man/wg.8
 | |
| 
 | |
| [Service]
 | |
| Type=oneshot
 | |
| RemainAfterExit=yes
 | |
| ExecStart=/usr/bin/wg-quick up %i
 | |
| ExecStop=/usr/bin/wg-quick down %i
 | |
| 
 | |
| [Install]
 | |
| WantedBy=multi-user.target
 |