mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl, util.prosodyctl: Pass source path as a parameter instead of global variable
This commit is contained in:
parent
34473917a1
commit
c0912560a4
2 changed files with 4 additions and 6 deletions
|
@ -219,7 +219,7 @@ function commands.start(arg)
|
|||
return 1;
|
||||
end
|
||||
|
||||
local ok, ret = prosodyctl.start();
|
||||
local ok, ret = prosodyctl.start(prosody.paths.source);
|
||||
if ok then
|
||||
local daemonize = config.get("*", "daemonize");
|
||||
if daemonize == nil then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue