summaryrefslogtreecommitdiff
path: root/src/core/wee-command.h
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 /src/core/wee-command.h
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 'src/core/wee-command.h')
-rw-r--r--src/core/wee-command.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/wee-command.h b/src/core/wee-command.h
index 4d2214d14..07193a911 100644
--- a/src/core/wee-command.h
+++ b/src/core/wee-command.h
@@ -89,6 +89,5 @@ extern void command_version_display (struct t_gui_buffer *buffer,
int send_to_buffer_as_input,
int translated_string,
int display_git_version);
-extern void command_reload_files ();
#endif /* WEECHAT_COMMAND_H */