|
@@ -7,7 +7,6 @@ Wants=network.target
|
|
|
Type=simple
|
|
Type=simple
|
|
|
PIDFile=/var/run/v2ray.pid
|
|
PIDFile=/var/run/v2ray.pid
|
|
|
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
|
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
|
|
-ExecStop=kill $(cat /var/run/v2ray.pid)
|
|
|
|
|
Restart=on-abnormal
|
|
Restart=on-abnormal
|
|
|
|
|
|
|
|
[Install]
|
|
[Install]
|