Software /
code /
prosody
Diff
util/prosodyctl.lua @ 10720:6e46fefe956c 0.11
util.prosodyctl: Tell prosody do daemonize via command line flag (fixes #1514)
Backport of 88be11e9f9b9
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Jan 2020 16:40:21 +0100 |
parent | 8883:3f975bbfec3b |
child | 10722:3ddc7c9f35dc |
line wrap: on
line diff
--- a/util/prosodyctl.lua Fri Apr 10 16:11:09 2020 +0200 +++ b/util/prosodyctl.lua Sun Jan 26 16:40:21 2020 +0100 @@ -238,9 +238,9 @@ 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