From 5d027d7f71fb0410b9c1a4ad46d94aaebb87c645 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 10 Apr 2014 00:24:29 +0200 Subject: prosodyctl, util.prosodyctl: Update to reflect that mod_posix gets loaded by default on posix platforms --- prosodyctl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'prosodyctl') 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(); -- cgit v1.2.3