aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-04-10 00:24:29 +0200
committerKim Alvefur <zash@zash.se>2014-04-10 00:24:29 +0200
commit5d027d7f71fb0410b9c1a4ad46d94aaebb87c645 (patch)
treee7923c70fb6349ab8e9578b2fe7e092692b572ba /prosodyctl
parentbd5c7793919f236c68a82b9a1045d0348e359c84 (diff)
downloadprosody-5d027d7f71fb0410b9c1a4ad46d94aaebb87c645.tar.gz
prosody-5d027d7f71fb0410b9c1a4ad46d94aaebb87c645.zip
prosodyctl, util.prosodyctl: Update to reflect that mod_posix gets loaded by default on posix platforms
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl6
1 files changed, 5 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index c3adad4d..00aeac40 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -414,7 +414,11 @@ function commands.start(arg)
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();