Update install.sh

This commit is contained in:
FusionPBX 2017-03-04 13:54:52 -07:00 committed by GitHub
parent 3ec71dcbd1
commit 351358fec1
1 changed files with 3 additions and 2 deletions

5
debian/install.sh vendored
View File

@ -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