diff --git a/files/cgconfig.conf.new b/files/cgconfig.conf.new index e9edc8f..391c4ce 100644 --- a/files/cgconfig.conf.new +++ b/files/cgconfig.conf.new @@ -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{ } diff --git a/files/cgrules.conf.new b/files/cgrules.conf.new index 6c6215d..b0cb502 100644 --- a/files/cgrules.conf.new +++ b/files/cgrules.conf.new @@ -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