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 | 375b817e8a94df861b3aa468af66f52a0a30bd67 (patch) | |
tree | e7de4086fb5a24514aaa90df3eba809151ca7b58 | |
parent | 96620cafe5f8aa651c449ab930703a7032c990b5 (diff) | |
download | prosody-375b817e8a94df861b3aa468af66f52a0a30bd67.tar.gz prosody-375b817e8a94df861b3aa468af66f52a0a30bd67.zip |
util.prosodyctl: Tell prosody do daemonize via command line flag (fixes #1514)
Backport of 88be11e9f9b9
-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 |