diff --git a/systemd/system/v2ray.service b/systemd/system/v2ray.service index e9d6310..89e99b3 100644 --- a/systemd/system/v2ray.service +++ b/systemd/system/v2ray.service @@ -10,6 +10,7 @@ NoNewPrivileges=true Environment=V2RAY_LOCATION_ASSET=/usr/local/share/v2ray/ ExecStart=/usr/local/bin/v2ray -confdir /usr/local/etc/v2ray/ Restart=on-failure +RestartPreventExitStatus=23 [Install] WantedBy=multi-user.target