Update profile from #25 (2).
This commit is contained in:
parent
2f77653cba
commit
810985a0cd
38 changed files with 103 additions and 37 deletions
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = /{usr/,}lib/systemd/systemd-oomd
|
||||
profile systemd-oomd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/systemd-common>
|
||||
|
||||
capability dac_override,
|
||||
capability kill,
|
||||
|
|
@ -17,11 +18,9 @@ profile systemd-oomd @{exec_path} {
|
|||
|
||||
/etc/systemd/oomd.conf r,
|
||||
|
||||
@{PROC}/1/cgroup r,
|
||||
@{PROC}/cmdline r,
|
||||
@{sys}/fs/cgroup/cgroup.controllers r,
|
||||
|
||||
@{PROC}/pressure/{cpu,io,memory} r,
|
||||
@{PROC}/sys/kernel/osrelease r,
|
||||
@{PROC}/sys/kernel/random/boot_id r,
|
||||
|
||||
include if exists <local/systemd-oomd>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue