From e415a12bb17de9598f004a208322927de170f775 Mon Sep 17 00:00:00 2001 From: Dct Mei Date: Thu, 12 Mar 2020 15:09:34 +0800 Subject: [PATCH] modify the startup service file again --- systemd/v2ray.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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