diff options
Diffstat (limited to 'v2ray-cap.hook')
-rw-r--r-- | v2ray-cap.hook | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v2ray-cap.hook b/v2ray-cap.hook index 8325e2340fad..db35cb3d2ff4 100644 --- a/v2ray-cap.hook +++ b/v2ray-cap.hook @@ -2,13 +2,13 @@ Operation = Install Operation = Upgrade Type = Path -Target = usr/lib/v2ray/v2ray +Target = usr/bin/v2ray [Action] Description = setcap to v2ray Depends = libcap When = PostTransaction -Exec = /usr/bin/setcap "cap_net_bind_service=+ep cap_net_admin=+ep" /usr/lib/v2ray/v2ray +Exec = /usr/bin/setcap "cap_net_bind_service=+ep cap_net_admin=+ep" /usr/bin/v2ray NeedsTargets |