Bug fix empty value check CentOS (#85)

* added CentOS, Fedora, RHEL choices with minimal version check (recommited)

* fixed small typos

* added special option --use-php5-package

* parse options and export new environment variable USE_PHP5_PACKAGE

* added choice between php5* or php7.0* packages (recommited)

* fixed php*-fpm service name and php.ini file path (recommited)

* prepare socket name for nginx to work with php5-fpm or php7.0-fpm (recommited)

* added ppa:ondrej/php5-compat repo

* added dependency ppa:ondrej/php repo and package software-properties-common

* POSIX sh empty value check compatibility
This commit is contained in:
erxspin
2017-03-11 05:07:16 +06:00
committed by FusionPBX
parent f2265865f9
commit 26d050685a
4 changed files with 14 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ cp ./fail2ban/nginx-dos.conf /etc/fail2ban/filter.d/nginx-dos.conf
cp ./fail2ban/jail.local /etc/fail2ban/jail.local
#update config if source is being used
#if [ $USE_FREESWITCH_SOURCE = true ]; then
#if [ .$USE_FREESWITCH_SOURCE = .true ]; then
# sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local
#fi