projects
/
sysconfig
/
ejabberd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make update-cert.sh runnable anywhere
[sysconfig/ejabberd.git]
/
update-cert.sh
diff --git
a/update-cert.sh
b/update-cert.sh
index 3625dee1dc3875e96b3b2f0f553a25e8d7b2cca6..eac43ab2697721e968907af33ef7e5cbd60c3f7d 100755
(executable)
--- a/
update-cert.sh
+++ b/
update-cert.sh
@@
-2,6
+2,7
@@
set -euf
+cd `dirname "$0"`
umask 0006
cat privkey.pem fullchain.pem > ejabberd.pem
chgrp ejabberd ejabberd.pem