modify the startup service file again
parent
30be478de6
commit
e415a12bb1
|
@ -11,7 +11,7 @@ Wants=network.target
|
|||
# Group=v2ray
|
||||
Type=simple
|
||||
PIDFile=/run/v2ray.pid
|
||||
ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json
|
||||
ExecStart=/usr/bin/env V2RAY_LOCATION_ASSET=/usr/local/lib/v2ray /usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json
|
||||
Restart=on-failure
|
||||
# Don't restart in the case of configuration error
|
||||
RestartPreventExitStatus=23
|
||||
|
|
Loading…
Reference in New Issue