mod_posix: Don't reload logging twice 0.11
authorKim Alvefur <zash@zash.se>
Sun, 06 Jan 2019 12:17:00 +0100
branch0.11
changeset 9767 982529dd0bed
parent 9766 34988a408b74
child 9768 2f4240bfd147
child 9771 57ceffb13963
mod_posix: Don't reload logging twice See 18eca6afb367
plugins/mod_posix.lua
--- a/plugins/mod_posix.lua	Sun Jan 06 12:14:42 2019 +0100
+++ b/plugins/mod_posix.lua	Sun Jan 06 12:17:00 2019 +0100
@@ -172,7 +172,7 @@
 		signal.signal("SIGHUP", function ()
 			module:log("info", "Received SIGHUP");
 			prosody.reload_config();
-			prosody.reopen_logfiles();
+			-- this also reloads logging
 		end);
 
 		signal.signal("SIGINT", function ()