From b08fe9a896e7d6d9ba16e0582f2a41a68d444f4f Mon Sep 17 00:00:00 2001 From: Mark J Crane Date: Sat, 25 Mar 2017 12:45:18 -0600 Subject: [PATCH] Fix the service restart commands --- freebsd/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/freebsd/install.sh b/freebsd/install.sh index 93733e8..9cb0ce7 100755 --- a/freebsd/install.sh +++ b/freebsd/install.sh @@ -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