From 351358fec15af05c0b86a78f90e9a05f953176c6 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 4 Mar 2017 13:54:52 -0700 Subject: [PATCH] Update install.sh --- debian/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/install.sh b/debian/install.sh index 4876fd7..9180b45 100755 --- a/debian/install.sh +++ b/debian/install.sh @@ -157,9 +157,10 @@ server_address=$(hostname -I) #restart services systemctl daemon-reload -if [ .$USE_PHP5_PACKAGE = .true ]; then +if [ ."$php_version" = ."5" ]; then systemctl restart php5-fpm -else +fi +if [ ."$php_version" = ."7" ]; then systemctl restart php7.0-fpm fi systemctl restart nginx