Update install.sh
This commit is contained in:
parent
3ec71dcbd1
commit
351358fec1
|
|
@ -157,9 +157,10 @@ server_address=$(hostname -I)
|
||||||
|
|
||||||
#restart services
|
#restart services
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
if [ .$USE_PHP5_PACKAGE = .true ]; then
|
if [ ."$php_version" = ."5" ]; then
|
||||||
systemctl restart php5-fpm
|
systemctl restart php5-fpm
|
||||||
else
|
fi
|
||||||
|
if [ ."$php_version" = ."7" ]; then
|
||||||
systemctl restart php7.0-fpm
|
systemctl restart php7.0-fpm
|
||||||
fi
|
fi
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue