Changeset

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
parents 10709:fcf7f50ccdd0
children 10721:3a1b1d3084fb
files util/prosodyctl.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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