forked from norman/fusionpbx-install.sh-github-mirror
Fix the service restart commands
This commit is contained in:
@@ -41,13 +41,13 @@ server_address=$(hostname -I)
|
|||||||
|
|
||||||
#restart services
|
#restart services
|
||||||
if [ ."$php_version" = ."5" ]; then
|
if [ ."$php_version" = ."5" ]; then
|
||||||
systemctl restart php5-fpm
|
service php5-fpm restart
|
||||||
fi
|
fi
|
||||||
if [ ."$php_version" = ."7" ]; then
|
if [ ."$php_version" = ."7" ]; then
|
||||||
systemctl restart php7.0-fpm
|
service php7.0-fpm restart
|
||||||
fi
|
fi
|
||||||
systemctl restart nginx
|
service nginx restart
|
||||||
systemctl restart fail2ban
|
service fail2ban restart
|
||||||
|
|
||||||
#add the database schema, user and groups
|
#add the database schema, user and groups
|
||||||
resources/finish.sh
|
resources/finish.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user