equal
deleted
inserted
replaced
412 return 1; |
412 return 1; |
413 end |
413 end |
414 |
414 |
415 local ok, ret = prosodyctl.start(); |
415 local ok, ret = prosodyctl.start(); |
416 if ok then |
416 if ok then |
417 if config.get("*", "daemonize") ~= false then |
417 local daemonize = config.get("*", "daemonize"); |
|
418 if daemonize == nil then |
|
419 daemonize = prosody.installed; |
|
420 end |
|
421 if daemonize then |
418 local i=1; |
422 local i=1; |
419 while true do |
423 while true do |
420 local ok, running = prosodyctl.isrunning(); |
424 local ok, running = prosodyctl.isrunning(); |
421 if ok and running then |
425 if ok and running then |
422 break; |
426 break; |