plugins/mod_posix.lua
changeset 6002 3547f315a1f5
parent 5776 bd0ff8ae98a8
child 6061 1056ea08970f
--- a/plugins/mod_posix.lua	Tue Jan 21 03:24:40 2014 +0000
+++ b/plugins/mod_posix.lua	Sun Jan 26 18:35:03 2014 +0100
@@ -128,7 +128,7 @@
 end
 require "core.loggingmanager".register_sink_type("syslog", syslog_sink_maker);
 
-local daemonize = module:get_option("daemonize");
+local daemonize = module:get_option("daemonize", prosody.installed);
 if daemonize == nil then
 	local no_daemonize = module:get_option("no_daemonize"); --COMPAT w/ 0.5
 	daemonize = not no_daemonize;