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 | 4020eeba35d03e2da0a4e04140e15c9f9b05740e (patch) | |
tree | a266c8e33bf4705470172c5829d2b13e4f9449f1 /prosodyctl | |
parent | 25e11e79598fde39d5e11831d5a50ce696a9dd36 (diff) | |
download | prosody-4020eeba35d03e2da0a4e04140e15c9f9b05740e.tar.gz prosody-4020eeba35d03e2da0a4e04140e15c9f9b05740e.zip |
prosodyctl: Set $HOME to data path. Fixes issue with openssl and random state (Thanks Florob)
Diffstat (limited to 'prosodyctl')
-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"); |