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

[Action]
Description = Set file capabilities for iotop...
When = PostTransaction
# man iotop
Exec = /usr/bin/setcap cap_net_admin+eip /usr/bin/iotop
Depends = iotop-c