# HG changeset patch # User Kim Alvefur # Date 1348089880 -7200 # Node ID b3e9b3576056f3b0217c007127acea7fb5655523 # Parent a0b8e5d03de2a0dbb3693161c33682b6d5a4e108 prosodyctl: Set $HOME to data path. Fixes issue with openssl and random state (Thanks Florob) diff -r a0b8e5d03de2 -r b3e9b3576056 prosodyctl --- a/prosodyctl Wed Sep 19 16:40:38 2012 +0200 +++ b/prosodyctl Wed Sep 19 23:24:40 2012 +0200 @@ -161,6 +161,7 @@ -- 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");