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 | 1683d6e341bb96cfab33b2ff3547827bb6666dd5 (patch) | |
tree | e7de4086fb5a24514aaa90df3eba809151ca7b58 /util/prosodyctl.lua | |
parent | 385f99cce1d82cbd80129ace61b1fb2bae31de5b (diff) | |
download | prosody-1683d6e341bb96cfab33b2ff3547827bb6666dd5.tar.gz prosody-1683d6e341bb96cfab33b2ff3547827bb6666dd5.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 |