|
@@ -10,7 +10,7 @@ Wants=network.target
|
|
|
# User=v2ray
|
|
# User=v2ray
|
|
|
# Group=v2ray
|
|
# Group=v2ray
|
|
|
Type=simple
|
|
Type=simple
|
|
|
-PIDFile=/var/run/v2ray.pid
|
|
|
|
|
|
|
+PIDFile=/run/v2ray.pid
|
|
|
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
|
ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json
|
|
|
Restart=on-failure
|
|
Restart=on-failure
|
|
|
# Don't restart in the case of configuration error
|
|
# Don't restart in the case of configuration error
|