Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Jun 18, 2017
1 parent 231e5ad commit 811faed
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions setup/ubuntu-install.sh
Expand Up @@ -16,13 +16,6 @@ apt-get update
apt-get upgrade -y
apt-get install -y curl lsb-release ufw build-essential python software-properties-common dnsutils

HTTP_RESPONSE=$(curl --write-out %{http_code} --silent --output /dev/null 127.0.0.1)

if [ HTTP_RESPONSE -eq "000" ] then
echo "HTTP server already installed"
exit 1
fi

CODENAME=`lsb_release -c -s`

PUBLIC_IP=`curl -s https://api.ipify.org`
Expand Down Expand Up @@ -50,7 +43,7 @@ ufw allow 80/tcp
ufw --force enable

# Fetch Mailtrain files
mkdir -p /opt/pangalink
mkdir -p /opt/pangalink/config
cp -r . /opt/pangalink

# Add new user for the mailtrain daemon to run as
Expand Down

0 comments on commit 811faed

Please sign in to comment.