mirror of
https://github.com/mtan93/install-nextcloud.git
synced 2026-03-27 21:04:02 +00:00
Ready for PHP7.3
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
#######################################################
|
#######################################################
|
||||||
# Carsten Rieger IT-Services
|
# Carsten Rieger IT-Services
|
||||||
# SSL-CERTIFICATE.SH
|
# SSL-CERTIFICATE-UBUNTU.SH
|
||||||
# Version 1.1
|
# Version 2.1
|
||||||
# September, 20th, 2018
|
|
||||||
# Version 2.0
|
|
||||||
#######################################################
|
#######################################################
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
###global function to update and cleanup the environment
|
###global function to update and cleanup the environment
|
||||||
@@ -18,7 +16,7 @@ function restart_all_services() {
|
|||||||
/usr/sbin/service nginx restart
|
/usr/sbin/service nginx restart
|
||||||
/usr/sbin/service mysql restart
|
/usr/sbin/service mysql restart
|
||||||
/usr/sbin/service redis-server 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
|
###global function to create backups of the effected files
|
||||||
function copy4SSL() {
|
function copy4SSL() {
|
||||||
@@ -78,5 +76,6 @@ echo " Call: https://$DYNDNSNAME and enjoy your Nextcloud"
|
|||||||
echo ""
|
echo ""
|
||||||
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++"
|
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++"
|
||||||
fi
|
fi
|
||||||
history -c && history -w
|
### CleanUp ###
|
||||||
|
cat /dev/null > ~/.bash_history && history -c && history -w
|
||||||
exit 0
|
exit 0
|
||||||
Reference in New Issue
Block a user