From 876877bb48815109e166351f2fa12c304a0006b1 Mon Sep 17 00:00:00 2001 From: "rieger::CLOUD" Date: Wed, 9 Jan 2019 14:48:07 +0100 Subject: [PATCH] Ready for PHP7.3 --- ssl-certificate.sh => ssl-certificate-ubuntu.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) rename ssl-certificate.sh => ssl-certificate-ubuntu.sh (95%) diff --git a/ssl-certificate.sh b/ssl-certificate-ubuntu.sh similarity index 95% rename from ssl-certificate.sh rename to ssl-certificate-ubuntu.sh index 7baaa60..33e2bc7 100644 --- a/ssl-certificate.sh +++ b/ssl-certificate-ubuntu.sh @@ -1,9 +1,7 @@ ####################################################### # Carsten Rieger IT-Services -# SSL-CERTIFICATE.SH -# Version 1.1 -# September, 20th, 2018 -# Version 2.0 +# SSL-CERTIFICATE-UBUNTU.SH +# Version 2.1 ####################################################### #!/bin/bash ###global function to update and cleanup the environment @@ -18,7 +16,7 @@ function restart_all_services() { /usr/sbin/service nginx restart /usr/sbin/service mysql restart /usr/sbin/service redis-server restart -/usr/sbin/service php7.2-fpm restart +/usr/sbin/service php7.3-fpm restart } ###global function to create backups of the effected files function copy4SSL() { @@ -78,5 +76,6 @@ echo " Call: https://$DYNDNSNAME and enjoy your Nextcloud" echo "" echo "++++++++++++++++++++++++++++++++++++++++++++++++++++" fi -history -c && history -w +### CleanUp ### +cat /dev/null > ~/.bash_history && history -c && history -w exit 0