changeset 6062 | 6cc6b4d407df |
parent 6038 | b3ceb7627e27 |
child 6158 | 08e9c9d0beb3 |
--- a/prosodyctl Thu Apr 10 00:23:35 2014 +0200 +++ b/prosodyctl Thu Apr 10 00:24:29 2014 +0200 @@ -414,7 +414,11 @@ local ok, ret = prosodyctl.start(); if ok then - if config.get("*", "daemonize") ~= false then + local daemonize = config.get("*", "daemonize"); + if daemonize == nil then + daemonize = prosody.installed; + end + if daemonize then local i=1; while true do local ok, running = prosodyctl.isrunning();