diff --git a/systemd/v2ray.service b/systemd/v2ray.service index 56c707c..976be53 100644 --- a/systemd/v2ray.service +++ b/systemd/v2ray.service @@ -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