diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-12-18 18:52:52 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-12-19 00:17:53 +0100 |
commit | 47dba9fb091cc6fa8ae8ea1d2d6b0652ec84f765 (patch) | |
tree | e78fba787af89a002ad3a6b9a3131f46a2fd2136 /src/core/load-fragment-gperf.gperf.in | |
parent | man: fix typo in systemd.socket.5 (diff) | |
download | systemd-47dba9fb091cc6fa8ae8ea1d2d6b0652ec84f765.tar.xz systemd-47dba9fb091cc6fa8ae8ea1d2d6b0652ec84f765.zip |
path unit: add TriggerLimitBurst= and TriggerLimitIntervalSec=
Given there's now a default for these settings, also allow users to configure
them, matching socket units
Diffstat (limited to 'src/core/load-fragment-gperf.gperf.in')
-rw-r--r-- | src/core/load-fragment-gperf.gperf.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/load-fragment-gperf.gperf.in b/src/core/load-fragment-gperf.gperf.in index 6baa3b3b74..deea540e10 100644 --- a/src/core/load-fragment-gperf.gperf.in +++ b/src/core/load-fragment-gperf.gperf.in @@ -542,6 +542,8 @@ Path.DirectoryNotEmpty, config_parse_path_spec, Path.Unit, config_parse_trigger_unit, 0, 0 Path.MakeDirectory, config_parse_bool, 0, offsetof(Path, make_directory) Path.DirectoryMode, config_parse_mode, 0, offsetof(Path, directory_mode) +Path.TriggerLimitIntervalSec, config_parse_sec, 0, offsetof(Path, trigger_limit.interval) +Path.TriggerLimitBurst, config_parse_unsigned, 0, offsetof(Path, trigger_limit.burst) {{ CGROUP_CONTEXT_CONFIG_ITEMS('Slice') }} {{ CGROUP_CONTEXT_CONFIG_ITEMS('Scope') }} {{ KILL_CONTEXT_CONFIG_ITEMS('Scope') }} |