letsencrypt permissions

This commit is contained in:
Bob Mottram 2017-06-23 21:33:07 +01:00
parent 548b5fc8b9
commit 408eb08222
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ function interactive_gpg_from_usb {
fi
echo $'Recovering LetsEncrypt keys'
cp -r $USB_MOUNT/letsencrypt/* /etc/letsencrypt
addgroup ssl-cert
chown -R root:ssl-cert /etc/letsencrypt
fi
if [ -f $USB_MOUNT/.mastergpgkey ]; then