feat(profiles): general update.
This commit is contained in:
parent
7273bde534
commit
96b8f96137
33 changed files with 185 additions and 131 deletions
|
|
@ -9,8 +9,8 @@ include <tunables/global>
|
|||
@{exec_path} = @{lib}/systemd/systemd-oomd
|
||||
profile systemd-oomd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/systemd-common>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/systemd-common>
|
||||
|
||||
capability dac_override,
|
||||
capability kill,
|
||||
|
|
@ -33,7 +33,6 @@ profile systemd-oomd @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{sys}/fs/cgroup/cgroup.controllers r,
|
||||
@{sys}/fs/cgroup/memory.pressure r,
|
||||
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/memory.* r,
|
||||
|
||||
@{PROC}/pressure/{cpu,io,memory} r,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue