summaryrefslogtreecommitdiff
path: root/pacman_hooks/setcap-nethogs.hook
blob: 9244449f11f7a1ca54358be1a5aea71b9d95bba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = nethogs

[Action]
Description = Set file capabilities for nethogs...
When = PostTransaction
# man nethogs
Exec = /usr/bin/setcap cap_net_admin,cap_net_raw+ep /usr/bin/nethogs
Depends = nethogs