prosodyctl
changeset 8671 31c5abd49dfe
parent 8655 03bb534593cb
child 8674 a4899174a894
equal deleted inserted replaced
8670:a05d36075c6a 8671:31c5abd49dfe
   217 		end
   217 		end
   218 		show_message("Prosody is already running with PID %s", ret or "(unknown)");
   218 		show_message("Prosody is already running with PID %s", ret or "(unknown)");
   219 		return 1;
   219 		return 1;
   220 	end
   220 	end
   221 
   221 
   222 	local ok, ret = prosodyctl.start();
   222 	local ok, ret = prosodyctl.start(prosody.paths.source);
   223 	if ok then
   223 	if ok then
   224 		local daemonize = config.get("*", "daemonize");
   224 		local daemonize = config.get("*", "daemonize");
   225 		if daemonize == nil then
   225 		if daemonize == nil then
   226 			daemonize = prosody.installed;
   226 			daemonize = prosody.installed;
   227 		end
   227 		end