projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be97b40
)
prosodyctl: Set $HOME to data path. Fixes issue with openssl and random state (Thanks...
author
Kim Alvefur
<zash@zash.se>
Wed, 19 Sep 2012 21:24:40 +0000
(23:24 +0200)
committer
Kim Alvefur
<zash@zash.se>
Wed, 19 Sep 2012 21:24:40 +0000
(23:24 +0200)
prosodyctl
patch
|
blob
|
history
diff --git
a/prosodyctl
b/prosodyctl
index d4aa6d5ef57e05aea1fc349c4aa551514b3ac650..52b734f729b86b6839c771127d40a48c59fea02d 100755
(executable)
--- 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");