changeset 5134 | 43c5227fdd3b |
parent 5023 | dcc8e789df36 |
child 5281 | 815c689f85ad |
--- a/prosody Wed Sep 19 12:14:08 2012 +0100 +++ b/prosody Wed Sep 19 12:39:21 2012 +0100 @@ -228,6 +228,11 @@ prosody.installed = true; end + if prosody.installed then + -- Change working directory to data path. + require "lfs".chdir(data_path); + end + -- Function to reload the config file function prosody.reload_config() log("info", "Reloading configuration file");