diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2020-03-09 15:09:17 -0700 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2020-10-07 16:17:23 -0700 |
commit | 4d824a4e0b008a359adda0e960706316f207047e (patch) | |
tree | 04c5b68e821899102206ae1be6746632aa96d9cd /src/core/load-fragment.h | |
parent | 5177cb0a9add4ae568cff6e6f7c2b3c77760c343 (diff) | |
download | systemd-4d824a4e0b008a359adda0e960706316f207047e.tar.gz |
core: add ManagedOOM*= properties to configure systemd-oomd on the unit
This adds the hook ups so it can be read with the usual systemd
utilities. Used in later commits by sytemd-oomd.
Diffstat (limited to 'src/core/load-fragment.h')
-rw-r--r-- | src/core/load-fragment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/load-fragment.h b/src/core/load-fragment.h index d67852a74d..fa4c1fb1a0 100644 --- a/src/core/load-fragment.h +++ b/src/core/load-fragment.h @@ -76,6 +76,8 @@ CONFIG_PARSER_PROTOTYPE(config_parse_cpu_shares); CONFIG_PARSER_PROTOTYPE(config_parse_memory_limit); CONFIG_PARSER_PROTOTYPE(config_parse_tasks_max); CONFIG_PARSER_PROTOTYPE(config_parse_delegate); +CONFIG_PARSER_PROTOTYPE(config_parse_managed_oom_mode); +CONFIG_PARSER_PROTOTYPE(config_parse_managed_oom_mem_pressure_limit); CONFIG_PARSER_PROTOTYPE(config_parse_device_policy); CONFIG_PARSER_PROTOTYPE(config_parse_device_allow); CONFIG_PARSER_PROTOTYPE(config_parse_io_device_latency); |