Skip to content

Commit 2f4d662

Browse files
only do 1 nginx reload during our install section - causes port already in use errors
1 parent 2e40e0a commit 2f4d662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

travis-ci/install-nginx2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sudo cp $TRAVIS_BUILD_DIR/travis-ci/default.vhost /etc/nginx/sites-available/def
3232

3333
# Link the vhost file into Nginx /sites-enabled/ and reload nginx
3434
sudo ln -s /etc/nginx/sites-available/default.vhost /etc/nginx/sites-enabled/default.vhost
35-
sudo service nginx reload
35+
#sudo service nginx reload
3636

3737
# Run setup-ngxblocker
3838
cd /usr/sbin
@@ -44,7 +44,7 @@ sudo ./setup-ngxblocker -x
4444

4545
# Load our Nginx.conf file and reload Nginx
4646
sudo nginx -c /etc/nginx/nginx.conf
47-
sudo service nginx reload
47+
#sudo service nginx reload
4848

4949
# Copy our index.php file into the default site's root folder
5050
sudo cp $TRAVIS_BUILD_DIR/www/index.php /var/www/html/index.php

0 commit comments

Comments
 (0)