修改v2ray启动命令,使用'run'参数以确保正确执行
This commit is contained in:
parent
f24473e1bb
commit
e60b8331c2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue