summarylogtreecommitdiffstats
path: root/clash-meta-cap.hook
blob: 7b050425bc3514cddfe35a1e6def148669bbb44f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/bin/clash-meta

[Action]
Description = setcap to clash-meta
Depends = libcap
When = PostTransaction
Exec = /usr/bin/setcap "cap_net_bind_service=+ep cap_net_admin=+ep" /usr/bin/clash-meta
NeedsTargets