Skip to content
Permalink
Browse files

Changing /usr/local/vesta to $VESTA

  • Loading branch information...
dpeca committed Aug 24, 2019
1 parent e82ad20 commit 84ef0a118fd73351126fb0e0da3392fe282eb789
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/v-add-firewall-chain
@@ -22,7 +22,7 @@ protocol=$(echo $protocol|tr '[:lower:]' '[:upper:]')
iptables="/sbin/iptables"

# Get vesta port by reading nginx.conf
vestaport=$(grep 'listen' /usr/local/vesta/nginx/conf/nginx.conf | awk '{print $2}' | sed "s|;||")
vestaport=$(grep 'listen' $VESTA/nginx/conf/nginx.conf | awk '{print $2}' | sed "s|;||")
if [ -z "$vestaport" ]; then
vestaport=8083
fi

0 comments on commit 84ef0a1

Please sign in to comment.
You can’t perform that action at this time.