aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-05 16:17:40 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-05 16:17:40 +0100
commitf2fd8fa91e4c8f9d92d9c3c1c503d07ff1f243d7 (patch)
treef6c4edbcaafcea6badeace92e0eaab64ddcbc407
parent794ba972aff856e82e95f20d593b8d318d23654b (diff)
parent6556394e75a826bff865cfacb0b681812372e064 (diff)
downloadprosody-f2fd8fa91e4c8f9d92d9c3c1c503d07ff1f243d7.tar.gz
prosody-f2fd8fa91e4c8f9d92d9c3c1c503d07ff1f243d7.zip
Merge with 0.4
-rwxr-xr-xprosodyctl3
1 files changed, 3 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index f451b7ee..0709bcb9 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -61,6 +61,9 @@ do
end
end
+local data_path = config.get("*", "core", "data_path") or CFG_DATADIR or "data";
+require "util.datamanager".set_data_path(data_path);
+
-- Switch away from root and into the prosody user --
local switched_user, current_uid;
local ok, pposix = pcall(require, "util.pposix");