From 4020eeba35d03e2da0a4e04140e15c9f9b05740e Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 19 Sep 2012 23:24:40 +0200 Subject: prosodyctl: Set $HOME to data path. Fixes issue with openssl and random state (Thanks Florob) --- prosodyctl | 1 + 1 file changed, 1 insertion(+) (limited to 'prosodyctl') diff --git a/prosodyctl b/prosodyctl index caa5d0cf..42c0a451 100755 --- a/prosodyctl +++ b/prosodyctl @@ -161,6 +161,7 @@ if ok and pposix then -- Set our umask to protect data files pposix.umask(config.get("*", "core", "umask") or "027"); + pposix.setenv("HOME", data_path); else print("Error: Unable to load pposix module. Check that Prosody is installed correctly.") print("For more help send the below error to us through http://prosody.im/discuss"); -- cgit v1.2.3