mirror of https://github.com/v2ray/v2ray-core
				
				
				
			add NoNewPrivileges=yes & CAP_NET_RAW
							parent
							
								
									c44dd39507
								
							
						
					
					
						commit
						3c3282f08a
					
				| 
						 | 
				
			
			@ -14,7 +14,8 @@ Type=simple
 | 
			
		|||
# More discussion at https://github.com/v2ray/v2ray-core/issues/1011
 | 
			
		||||
User=root
 | 
			
		||||
#User=v2ray
 | 
			
		||||
#AmbientCapabilities=CAP_NET_BIND_SERVICE
 | 
			
		||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
 | 
			
		||||
NoNewPrivileges=yes
 | 
			
		||||
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
# Don't restart in the case of configuration error
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue