forked from norman/fusionpbx-install.sh-github-mirror
Update letsencrypt.sh
This commit is contained in:
7
debian/resources/letsencrypt.sh
vendored
7
debian/resources/letsencrypt.sh
vendored
@@ -5,6 +5,8 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
#includes
|
#includes
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
|
. ./colors.sh
|
||||||
|
. ./environment.sh
|
||||||
|
|
||||||
#request the domain and email
|
#request the domain and email
|
||||||
read -p 'Domain Name: ' domain_name
|
read -p 'Domain Name: ' domain_name
|
||||||
@@ -16,6 +18,11 @@ read -p 'Email Address: ' email_address
|
|||||||
rm -R /opt/letsencrypt
|
rm -R /opt/letsencrypt
|
||||||
rm -R /etc/letsencrypt
|
rm -R /etc/letsencrypt
|
||||||
|
|
||||||
|
#use php version 5 for arm
|
||||||
|
if [ .$cpu_architecture = .'arm' ]; then
|
||||||
|
php_version=5
|
||||||
|
fi
|
||||||
|
|
||||||
#enable fusionpbx nginx config
|
#enable fusionpbx nginx config
|
||||||
cp nginx/fusionpbx /etc/nginx/sites-available/fusionpbx
|
cp nginx/fusionpbx /etc/nginx/sites-available/fusionpbx
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user