summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-core-string.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-03-16 18:47:31 +0100
committerSébastien Helleu <flashcode@flashtux.org>2021-03-16 18:47:31 +0100
commit0dc7fbcb0ce6a13427c3c362d777554ec55ec74a (patch)
treefdee3f8c05be225d32d28db6597710c8acb3e09c /tests/unit/core/test-core-string.cpp
parentbb41de8c0255887720f570e5f0594a497f9ea0a0 (diff)
downloadweechat-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 'tests/unit/core/test-core-string.cpp')
0 files changed, 0 insertions, 0 deletions