diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-02-15 10:51:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-02-17 09:55:35 +0100 |
commit | d06e61996d71f1600ec0bd88453f0ef043b5ca2b (patch) | |
tree | 0a11dd30c1e1b80340afcf6730e138e87f640ff5 /src/systemctl/systemctl.h | |
parent | a721cd0016fb662fc5888cef959eec19f96b4040 (diff) | |
download | systemd-d06e61996d71f1600ec0bd88453f0ef043b5ca2b.tar.gz |
systemctl: add --kill-value= argument to systemctl
This allows accompanying a signal with a value (as supported for Linux
Realtime signals). This is particularly useful as it allows us to do
stuff like this:
systemctl kill --kill-whom=main --kill-value=0x300 systemd-journald
In order to ask journald to flush its allocation caches and compact
memory.
Diffstat (limited to 'src/systemctl/systemctl.h')
-rw-r--r-- | src/systemctl/systemctl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.h b/src/systemctl/systemctl.h index 9f9b8faa69..59da9e3ddb 100644 --- a/src/systemctl/systemctl.h +++ b/src/systemctl/systemctl.h @@ -77,6 +77,8 @@ extern UnitFilePresetMode arg_preset_mode; extern char **arg_wall; extern const char *arg_kill_whom; extern int arg_signal; +extern int arg_kill_value; +extern bool arg_kill_value_set; extern char *arg_root; extern usec_t arg_when; extern const char *arg_reboot_argument; |