]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/load-fragment: add RemoveIPC= (#7288)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Nov 2017 09:15:55 +0000 (18:15 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Nov 2017 09:15:55 +0000 (10:15 +0100)
PR #3865 introduced RemoveIPC= but the option is not listed in
load-fragment-gperf.gperf. So, the option could be used only via d-bus.
This adds RemoveIPC= in load-fragment-gperf.gperf. Then, now we can
set the option in unit files.

Fixes #7281.

src/core/load-fragment-gperf.gperf.m4

index 48cf3a5688e81b55c6446c8590b7e3d355839a73..0f6372e8a33bea6551d474335a8083334252ad62 100644 (file)
@@ -37,6 +37,7 @@ $1.EnvironmentFile,              config_parse_unit_env_file,         0,
 $1.PassEnvironment,              config_parse_pass_environ,          0,                             offsetof($1, exec_context.pass_environment)
 $1.UnsetEnvironment,             config_parse_unset_environ,         0,                             offsetof($1, exec_context.unset_environment)
 $1.DynamicUser,                  config_parse_bool,                  true,                          offsetof($1, exec_context.dynamic_user)
+$1.RemoveIPC,                    config_parse_bool,                  0,                             offsetof($1, exec_context.remove_ipc)
 $1.StandardInput,                config_parse_exec_input,            0,                             offsetof($1, exec_context)
 $1.StandardOutput,               config_parse_exec_output,           0,                             offsetof($1, exec_context)
 $1.StandardError,                config_parse_exec_output,           0,                             offsetof($1, exec_context)