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 | 44a77f42f32d2a71a033c575ca90ed324b7aa0ab (patch) | |
tree | e7de4086fb5a24514aaa90df3eba809151ca7b58 /util | |
parent | f0e3e8f10752facac7aa0b5923c1675f01187b27 (diff) | |
download | prosody-44a77f42f32d2a71a033c575ca90ed324b7aa0ab.tar.gz prosody-44a77f42f32d2a71a033c575ca90ed324b7aa0ab.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.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 |