aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-02-03 07:25:05 +0100
committerKim Alvefur <zash@zash.se>2014-02-03 07:25:05 +0100
commit3b3997eef4a3c50a562efe9c49b3a180ab439dbe (patch)
treec840902603d1482af5f9156d6170461fd47b8e69 /plugins/mod_posix.lua
parentc891b3fd1d45a2cacbfce1744ebd25828d321810 (diff)
parent468a94a982d801d63812023fddb40baca2b9ef62 (diff)
downloadprosody-3b3997eef4a3c50a562efe9c49b3a180ab439dbe.tar.gz
prosody-3b3997eef4a3c50a562efe9c49b3a180ab439dbe.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r--plugins/mod_posix.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua
index 7a6ccd94..69542c96 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -128,7 +128,7 @@ function syslog_sink_maker(config)
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;