Mercurial > prosody-hg
comparison util/startup.lua @ 8688:019b4b3dd5ad
util.startup: Read version for prosodyctl (restores version in 'about' command)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 24 Mar 2018 21:39:03 +0100 |
| parents | 151ecd18d624 |
| children | a55574754e5f |
comparison
equal
deleted
inserted
replaced
| 8687:ee01578c67cb | 8688:019b4b3dd5ad |
|---|---|
| 485 -- prosodyctl only | 485 -- prosodyctl only |
| 486 function startup.prosodyctl() | 486 function startup.prosodyctl() |
| 487 startup.read_config(); | 487 startup.read_config(); |
| 488 startup.init_global_state(); | 488 startup.init_global_state(); |
| 489 startup.chdir(); | 489 startup.chdir(); |
| 490 startup.read_version(); | |
| 490 startup.switch_user(); | 491 startup.switch_user(); |
| 491 startup.check_dependencies(); | 492 startup.check_dependencies(); |
| 492 startup.force_console_logging(); | 493 startup.force_console_logging(); |
| 493 startup.init_logging(); | 494 startup.init_logging(); |
| 494 startup.log_dependency_warnings(); | 495 startup.log_dependency_warnings(); |
