From: Alex Dehnert Date: Thu, 15 Jun 2017 15:36:44 +0000 (-0400) Subject: Make update-cert.sh runnable anywhere X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=a5a3f30b9ddc59d31452f726da5201561b5381d3;hp=099c4d8d8450d34e4764ed79691b9e3c3de9bb8e;p=sysconfig%2Fejabberd.git Make update-cert.sh runnable anywhere --- diff --git a/update-cert.sh b/update-cert.sh index 3625dee..eac43ab 100755 --- 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