X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=apache%2Funfold-init-ssl.sh;fp=apache%2Funfold-init-ssl.sh;h=69be3283867b0d494fddf0eb3657c1e90b76ab99;hb=a11e7b0d7951b328f0f07ffedd679128d7bb8586;hp=74c1c32a474f248117c4ee61198aafdc80ef1278;hpb=cee22e9ecd10953ac9e5fa69bdfee261157697dc;p=unfold.git diff --git a/apache/unfold-init-ssl.sh b/apache/unfold-init-ssl.sh index 74c1c32a..69be3283 100755 --- 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 +# 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 () {