Updates in install scripts

This commit is contained in:
root 2018-12-25 13:10:25 +01:00
parent 067fed6d15
commit 439b565cd9

View file

@ -384,7 +384,7 @@ function createCertificates {
;;
esac
certbot certonly --agree-tos --email "${email}" --webroot -n -d "${hostPublic}" -d "${hostTrusted}" -d "${hostSandbox}"
certbot certonly --agree-tos --email "${email}" --webroot --webroot-path /var/www/html -n -d "${hostPublic}" -d "${hostTrusted}" -d "${hostSandbox}"
# Install cron
echo "0 3 * * * /usr/bin/certbot certonly --apache -n -d \"${hostPublic}\" -d \"${hostTrusted}\" -d \"${hostSandbox}\"" > crontab