From 54a456c0cfd4ea5eb79439932f7b22820d9d2d99 Mon Sep 17 00:00:00 2001 From: benjamyn Date: Wed, 20 Feb 2019 23:09:41 +1100 Subject: [PATCH] hopefully the final fix, missed dir perms --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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