Fix the service restart commands

This commit is contained in:
Mark J Crane 2017-03-25 12:45:18 -06:00
parent 675cbe8303
commit b08fe9a896
1 changed files with 4 additions and 4 deletions

View File

@ -41,13 +41,13 @@ server_address=$(hostname -I)
#restart services
if [ ."$php_version" = ."5" ]; then
systemctl restart php5-fpm
service php5-fpm restart
fi
if [ ."$php_version" = ."7" ]; then
systemctl restart php7.0-fpm
service php7.0-fpm restart
fi
systemctl restart nginx
systemctl restart fail2ban
service nginx restart
service fail2ban restart
#add the database schema, user and groups
resources/finish.sh