summarylogtreecommitdiffstats
path: root/v2ray-setcap.hook
blob: 36a129a3f155bf247ccedae1d70b53841aa2d2a9 (plain)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = v2ray

[Action]
Description = Setcap for v2ray...
When = PostTransaction
Exec = /usr/bin/setcap "cap_net_admin,cap_net_bind_service=ep" /usr/bin/v2ray