diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-03-16 18:47:31 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-03-16 18:47:31 +0100 |
commit | 0dc7fbcb0ce6a13427c3c362d777554ec55ec74a (patch) | |
tree | fdee3f8c05be225d32d28db6597710c8acb3e09c /doc/pl/includes | |
parent | bb41de8c0255887720f570e5f0594a497f9ea0a0 (diff) | |
download | weechat-0dc7fbcb0ce6a13427c3c362d777554ec55ec74a.zip |
core: add options to customize commands on system signals, quit by default on SIGHUP when not running headless (closes #1595)
New options to customize behavior on signals received, with the default
behavior:
- weechat.signal.sighup: quit in normal mode, reload config in headless
- weechat.signal.sigquit: quit
- weechat.signal.sigterm: quit
- weechat.signal.sigusr1: no command executed by default
- weechat.signal.sigusr2: no command executed by default
The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now
possible to run commands when they are received.
The SIGHUP signal makes now WeeChat quit, it was the behavior before version
2.9 of WeeChat (see commit de1e61f7cd50cbd1a99777fe6611642a51abf5f6).
Diffstat (limited to 'doc/pl/includes')
-rw-r--r-- | doc/pl/includes/autogen_user_options.pl.adoc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/pl/includes/autogen_user_options.pl.adoc b/doc/pl/includes/autogen_user_options.pl.adoc index 401277e96..34c850338 100644 --- a/doc/pl/includes/autogen_user_options.pl.adoc +++ b/doc/pl/includes/autogen_user_options.pl.adoc @@ -1308,6 +1308,36 @@ ** wartości: on, off ** domyślna wartość: `+on+` +* [[option_weechat.signal.sighup]] *weechat.signal.sighup* +** opis: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: content is evaluated, see /help eval)] +** typ: ciąg +** wartości: dowolny ciąg +** domyślna wartość: `+"${if:${info:weechat_headless}?/reload:/quit -yes}"+` + +* [[option_weechat.signal.sigquit]] *weechat.signal.sigquit* +** opis: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: content is evaluated, see /help eval)] +** typ: ciąg +** wartości: dowolny ciąg +** domyślna wartość: `+"/quit -yes"+` + +* [[option_weechat.signal.sigterm]] *weechat.signal.sigterm* +** opis: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: content is evaluated, see /help eval)] +** typ: ciąg +** wartości: dowolny ciąg +** domyślna wartość: `+"/quit -yes"+` + +* [[option_weechat.signal.sigusr1]] *weechat.signal.sigusr1* +** opis: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: content is evaluated, see /help eval)] +** typ: ciąg +** wartości: dowolny ciąg +** domyślna wartość: `+""+` + +* [[option_weechat.signal.sigusr2]] *weechat.signal.sigusr2* +** opis: pass:none[command to execute when the signal is received, multiple commands can be separated by semicolons (note: content is evaluated, see /help eval)] +** typ: ciąg +** wartości: dowolny ciąg +** domyślna wartość: `+""+` + * [[option_weechat.startup.command_after_plugins]] *weechat.startup.command_after_plugins* ** opis: pass:none[komenda wykonana kiedy WeeChat jest uruchamiany, po załadowaniu wtyczek (uwaga: zawartość jest przetwarzana, zobacz /help eval)] ** typ: ciąg |