mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Merge pull request #584 from neilalexander/systemd
systemd: Allow ExecStartPre failures
This commit is contained in:
		
						commit
						9cb553e939
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@ ProtectHome=true
 | 
			
		|||
ProtectSystem=true
 | 
			
		||||
SyslogIdentifier=yggdrasil
 | 
			
		||||
CapabilityBoundSet=CAP_NET_ADMIN
 | 
			
		||||
ExecStartPre=+/sbin/modprobe tun
 | 
			
		||||
ExecStartPre=+-/sbin/modprobe tun
 | 
			
		||||
ExecStartPre=/bin/sh -ec "if ! test -s /etc/yggdrasil.conf; \
 | 
			
		||||
                then umask 077; \
 | 
			
		||||
                yggdrasil -genconf > /etc/yggdrasil.conf; \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue