diff options
author | Kim Alvefur <zash@zash.se> | 2012-09-19 23:24:40 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-09-19 23:24:40 +0200 |
commit | 8d9a04088f11349c430002cf6f56ce2337228b20 (patch) | |
tree | 6185188d8955e33e84355ba9d6484a686d11ef81 | |
parent | 93cde32b80d341ff10c2a1bae4344199486389bc (diff) | |
download | prosody-8d9a04088f11349c430002cf6f56ce2337228b20.tar.gz prosody-8d9a04088f11349c430002cf6f56ce2337228b20.zip |
prosodyctl: Set $HOME to data path. Fixes issue with openssl and random state (Thanks Florob)
-rwxr-xr-x | prosodyctl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |