Diff

plugins/mod_posix.lua @ 9763:982529dd0bed 0.11

mod_posix: Don't reload logging twice See 18eca6afb367
author Kim Alvefur <zash@zash.se>
date Sun, 06 Jan 2019 12:17:00 +0100
parent 8663:a7a9d9511dc1
child 9927:1460c4966262
child 10598:5cf481bee678
line wrap: on
line diff
--- 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 ()