diff --git a/installCertbot.sh b/installCertbot.sh index 2c6a237cb6098fcc701b0da9b0c38673ab891faa..4c17d2b4c47395eea4687800e32cf749223d2eec 100755 --- a/installCertbot.sh +++ b/installCertbot.sh @@ -24,7 +24,7 @@ apt-get update && apt-get install certbot DOMAINS="dolibarr.${DOMAIN},nextcloud.${DOMAIN},tetras-back.${DOMAIN}" ARGS="--hsts --must-staple --email=${SERVER_ADMIN} --domains=${DOMAINS} --text --agree-tos" -line="0 1 `date +%d` */2 * /usr/bin/certbot renew --force-renewal" +line="0 1 * * `date +%u` /usr/bin/certbot renew --force-renewal" if [ "${WEB_SERVER}" == "apache2" ] then additional_packages="python-certbot-apache" diff --git a/installNextcloud.env b/installNextcloud.env index 35ad3c3f625006dd938aa0f1d6a3d0725236cae0..f05da9931ef07f028a831ad7b7b4e5a2cf5e2343 100644 --- a/installNextcloud.env +++ b/installNextcloud.env @@ -13,7 +13,9 @@ echo -n "'trusted_domains' =>" echo -n "array(" echo -n "0 => 'localhost'," echo -n "1 => 'nextcloud.$DOMAIN'," -echo -n "),")" +echo -n ")," +echo -n "'updater.release.channel' => 'production'," +echo -n "'default_language' => 'fr',")" # Installer configuration nextcloud's OCC tools NEXTCLOUD_DATABASE="mysql" diff --git a/installNextcloud.sh b/installNextcloud.sh index bb1cc5ead24427e227fb9b5fd3af9b79a0b0a837..f9318ddf820baea4b9352bf19057de075722f9c1 100644 --- a/installNextcloud.sh +++ b/installNextcloud.sh @@ -331,7 +331,6 @@ sed -i.bak -e "/'trusted_domains'/,/),/d; s@)@${sections})@; /array(/s@,@,\n@g;" \ -e 's/APCu/OC\\\\Memcache\\\\APCu/' \ - -e "s/^);$/ 'updater.release.channel' => 'production',\n);/" \ `pwd`/config.php echo "sed -i.bak \"/'trusted_domains'/,/),/d;" \