Skip to content

Commit

Permalink
Removed redundant service nginx restart call (#151)
Browse files Browse the repository at this point in the history
See MemphisPHP meetup
  • Loading branch information
unijohn authored and svpernova09 committed Mar 28, 2018
1 parent 3556132 commit 791ce04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 791ce04

Please sign in to comment.