git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
[myslice.git]
/
apache
/
unfold-init-ssl.sh
diff --git
a/apache/unfold-init-ssl.sh
b/apache/unfold-init-ssl.sh
index
74c1c32
..
69be328
100755
(executable)
--- a/
apache/unfold-init-ssl.sh
+++ b/
apache/unfold-init-ssl.sh
@@
-10,6
+10,8
@@
trusted_roots=/etc/unfold/trusted_roots
key=/etc/unfold/myslice.key
cert=/etc/unfold/myslice.cert
key=/etc/unfold/myslice.key
cert=/etc/unfold/myslice.cert
+# provide a hostname as the first arg to this command
+# (otherwise we use hostname)
if [[ -n "$@" ]] ; then hostname=$1; shift; else hostname=$(hostname); fi
function init_trusted_roots () {
if [[ -n "$@" ]] ; then hostname=$1; shift; else hostname=$(hostname); fi
function init_trusted_roots () {