diff --git a/release/config/systemd/system/v2ray.service b/release/config/systemd/system/v2ray.service index a299209cd..9a433c474 100644 --- a/release/config/systemd/system/v2ray.service +++ b/release/config/systemd/system/v2ray.service @@ -8,7 +8,7 @@ User=nobody CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE NoNewPrivileges=true -ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json +ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json Restart=on-failure RestartPreventExitStatus=23 diff --git a/release/config/systemd/system/v2ray@.service b/release/config/systemd/system/v2ray@.service index 514a86aa3..4dc7babb7 100644 --- a/release/config/systemd/system/v2ray@.service +++ b/release/config/systemd/system/v2ray@.service @@ -8,7 +8,7 @@ User=nobody CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE NoNewPrivileges=true -ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/%i.json +ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/%i.json Restart=on-failure RestartPreventExitStatus=23