diff --git a/systemd/system/v2ray@.service b/systemd/system/v2ray@.service index 8455d9d..a66548f 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 -config /usr/local/etc/v2ray/%i.json Restart=on-failure +RestartPreventExitStatus=23 [Install] WantedBy=multi-user.target