From d13894ea812e674b7aea8646c0bfb5f7b79435e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E3=81=AE=E3=81=8B=E3=81=88=E3=81=A7?= Date: Mon, 3 Jan 2022 22:55:33 +0800 Subject: [PATCH] systemd: fix exec start for v5 --- release/config/systemd/system/v2ray.service | 2 +- release/config/systemd/system/v2ray@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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