mod_posix: Don't reload logging twice

See 18eca6afb367
This commit is contained in:
Kim Alvefur 2019-01-06 12:17:00 +01:00
parent ce17a974fc
commit 1e9a016034

View file

@ -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 ()