|  | @@ -4,10 +4,10 @@ After=network.target
 | 
											
												
													
														|  |  Wants=network.target
 |  |  Wants=network.target
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  [Service]
 |  |  [Service]
 | 
											
												
													
														|  | -Type=forking
 |  | 
 | 
											
												
													
														|  | 
 |  | +Type=simple
 | 
											
												
													
														|  |  PIDFile=/var/run/v2ray.pid
 |  |  PIDFile=/var/run/v2ray.pid
 | 
											
												
													
														|  | -ExecStart=start-stop-daemon --start --quiet --pidfile /var/run/v2ray.pid --exec /usr/bin/v2ray/v2ray --background -m -- -config /etc/v2ray/config.json
 |  | 
 | 
											
												
													
														|  | -ExecStop=start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile /var/run/v2ray.pid
 |  | 
 | 
											
												
													
														|  | 
 |  | +ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
 | 
											
												
													
														|  | 
 |  | +ExecStop=kill $(cat /var/run/v2ray.pid)
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  [Install]
 |  |  [Install]
 | 
											
												
													
														|  |  WantedBy=multi-user.target
 |  |  WantedBy=multi-user.target
 |