more test and vagrant for nginx checks
This commit is contained in:
parent
4f5b0178cc
commit
f69daf773e
5 changed files with 38 additions and 27 deletions
|
|
@ -84,8 +84,6 @@ cat<<'EOF' > $dir/startnginx.sh
|
|||
sudo sh -c ' echo 'nginx_enable="YES"' >> /etc/rc.conf'
|
||||
fi
|
||||
sudo /usr/local/etc/rc.d/nginx restart
|
||||
elif systemctl > /dev/null 2>&1 ; then
|
||||
sudo systemctl start nginx
|
||||
else
|
||||
sudo pkill nginx
|
||||
nginxbin=$(sudo which nginx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue