Software / code / prosody
Comparison
prosodyctl @ 4476:53ce21286b8c
prosodyctl: Adjust description of 'reload' command (thanks crocket)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 17 Jan 2012 21:10:16 +0000 |
| parent | 4336:abcbcb15205c |
| child | 4487:5f466a50e78b |
comparison
equal
deleted
inserted
replaced
| 4471:ea24d73e6c94 | 4476:53ce21286b8c |
|---|---|
| 538 print(""); | 538 print(""); |
| 539 end | 539 end |
| 540 | 540 |
| 541 function commands.reload(arg) | 541 function commands.reload(arg) |
| 542 if arg[1] == "--help" then | 542 if arg[1] == "--help" then |
| 543 show_usage([[reload]], [[Reload prosody configuration file]]); | 543 show_usage([[reload]], [[Reload Prosody's configuration and re-open log files]]); |
| 544 return 1; | 544 return 1; |
| 545 end | 545 end |
| 546 | 546 |
| 547 if not prosodyctl.isrunning() then | 547 if not prosodyctl.isrunning() then |
| 548 show_message("Prosody is not running"); | 548 show_message("Prosody is not running"); |