diff options
author | Kim Alvefur <zash@zash.se> | 2020-01-26 16:40:21 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-01-26 16:40:21 +0100 |
commit | f00f039f4bd3e856333ac6db7cadfe33fe20d139 (patch) | |
tree | e7de4086fb5a24514aaa90df3eba809151ca7b58 /util/prosodyctl.lua | |
parent | 82c2f6fe228b8dce097ebc22180cc09313b830c5 (diff) | |
download | prosody-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/prosodyctl.lua')
-rw-r--r-- | util/prosodyctl.lua | 4 |
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 |