修改v2ray启动命令,使用'run'参数以确保正确执行

This commit is contained in:
lingling 2025-04-02 21:23:43 +08:00
parent f24473e1bb
commit e60b8331c2
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
ExecStart=$V2RAY_DIR/v2ray -config $CONFIG_DIR/config.json
ExecStart=$V2RAY_DIR/v2ray run -config $CONFIG_DIR/config.json
Restart=on-failure
RestartPreventExitStatus=23