From 784bd6215b1fd96748303a9d96e5577989d0d4f7 Mon Sep 17 00:00:00 2001 From: John Hall Date: Tue, 27 Mar 2018 19:18:37 -0500 Subject: [PATCH] Removed redundant `service nginx restart` call See MemphisPHP meetup --- scripts/provision.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/provision.sh b/scripts/provision.sh index 72c435ab..17cde0a7 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -134,7 +134,6 @@ nginx php7.1-fpm php7.2-fpm php7.0-fpm php5.6-fpm rm /etc/nginx/sites-enabled/default rm /etc/nginx/sites-available/default -service nginx restart # Setup Some PHP-FPM Options echo "xdebug.remote_enable = 1" >> /etc/php/7.2/mods-available/xdebug.ini @@ -268,7 +267,6 @@ sed -i "s/listen\.owner.*/listen.owner = vagrant/" /etc/php/5.6/fpm/pool.d/www.c sed -i "s/listen\.group.*/listen.group = vagrant/" /etc/php/5.6/fpm/pool.d/www.conf sed -i "s/;listen\.mode.*/listen.mode = 0666/" /etc/php/5.6/fpm/pool.d/www.conf - service nginx restart service php7.2-fpm restart service php7.1-fpm restart