Skip to content

Commit

Permalink
Added amavisd cgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Feb 7, 2024
1 parent 59ccb0f commit c2dc8f0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions files/cgconfig.conf.new
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,23 @@ group daemons/dockerd {
net_cls {
}
}
group daemons/amavisd {
perm {
task {
uid = root;
gid = root;
fperm = 600;
}
admin {
uid = root;
gid = root;
dperm = 700;
fperm = 600;
}
}
net_cls {
}
}
group users {
cpuacct{
}
Expand Down
1 change: 1 addition & 0 deletions files/cgrules.conf.new
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ root:/usr/bin/snort net_cls daemons/snort/
polkitd:/usr/lib/polkit-1/polkitd net_cls daemons/polkitd/
root:/usr/bin/dockerd net_cls daemons/dockerd/
root:/usr/bin/containerd net_cls daemons/dockerd/
amavis net_cls daemons/amavisd/
@users cpu,cpuacct,net_cls users/%u
# End of file

0 comments on commit c2dc8f0

Please sign in to comment.