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

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