Add Preliminary Debian 11 "Bullseye" Support (#376)

* Add Debian 11 support
This commit is contained in:
emak
2021-11-01 13:27:28 -04:00
committed by GitHub
parent dc9cce9e11
commit 0fbbfe997b
6 changed files with 66 additions and 18 deletions

View File

@@ -23,6 +23,9 @@ if [ ."$cpu_architecture" = ."arm" ]; then
fi
#set the version of php
if [ ."$os_codename" = ."bullseye" ]; then
php_version=7.4
fi
if [ ."$os_codename" = ."buster" ]; then
php_version=7.3
fi
@@ -52,6 +55,9 @@ fi
if [ ."$php_version" = ."7.3" ]; then
sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php7.3-fpm.sock;#g'
fi
if [ ."$php_version" = ."7.4" ]; then
sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php7.4-fpm.sock;#g'
fi
ln -s /etc/nginx/sites-available/fusionpbx /etc/nginx/sites-enabled/fusionpbx
#self signed certificate