aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-01-26 16:40:21 +0100
committerKim Alvefur <zash@zash.se>2020-01-26 16:40:21 +0100
commitf00f039f4bd3e856333ac6db7cadfe33fe20d139 (patch)
treee7de4086fb5a24514aaa90df3eba809151ca7b58 /util
parent82c2f6fe228b8dce097ebc22180cc09313b830c5 (diff)
downloadprosody-f00f039f4bd3e856333ac6db7cadfe33fe20d139.tar.gz
prosody-f00f039f4bd3e856333ac6db7cadfe33fe20d139.zip
util.prosodyctl: Tell prosody do daemonize via command line flag (fixes #1514)
Backport of 88be11e9f9b9
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua
index 5f0c4d12..6c84ab6e 100644
--- a/util/prosodyctl.lua
+++ b/util/prosodyctl.lua
@@ -238,9 +238,9 @@ local function start(source_dir)
return false, "already-running";
end
if not source_dir then
- os.execute("./prosody");
+ os.execute("./prosody -D");
else
- os.execute(source_dir.."/../../bin/prosody");
+ os.execute(source_dir.."/../../bin/prosody -D");
end
return true;
end