diff --git a/install.sh b/install.sh index 03e9afb..72b9237 100644 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ WORKINGDIR=$CURRENTDIR"/paste" USERNAME=paste NGINXGROUP=nginx REPO="https://git.vps.benjamyn-testing.com/benjamyn/paste.git" -PROTOCOL='https://' +PROTOCOL='http://' URL=testing.int.local echo "Getting the repo from $REPO" @@ -37,6 +37,7 @@ cp -v blank.service /etc/systemd/system/paste.service echo "Setting permissions on the files" chown -R $USERNAME:$NGINXGROUP $CURRENTDIR +chmod 0755 $CURRENTDIR echo "Installing nginx config to /etc/nginx/conf.d" cp paste.conf /etc/nginx/conf.d/paste.conf