mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_posix: Don't reload logging twice
See 18eca6afb367
This commit is contained in:
parent
ce17a974fc
commit
1e9a016034
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ if have_signal then
|
|||
signal.signal("SIGHUP", function ()
|
||||
module:log("info", "Received SIGHUP");
|
||||
prosody.reload_config();
|
||||
prosody.reopen_logfiles();
|
||||
-- this also reloads logging
|
||||
end);
|
||||
|
||||
signal.signal("SIGINT", function ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue