From e7b524ef2c5a0bfef768ffdcaaa824865fc4b815 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Thu, 14 Jan 2021 23:27:59 +0100 Subject: [PATCH] Creating also log directory --- seqs/gitea.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/seqs/gitea.sh b/seqs/gitea.sh index 0291767..bf243f0 100755 --- a/seqs/gitea.sh +++ b/seqs/gitea.sh @@ -56,6 +56,10 @@ step_4() { exe mkdir /etc/gitea exe chown root:git /etc/gitea exe chmod 770 /etc/gitea + echo "Creating /var/log/gitea" + exe mkdir -p /var/log/gitea + exe chown root:git /var/log/gitea + exe chmod 770 /var/log/gitea echo -n "Copying gitea to global location and making it executable..." exe chmod +x ~/gitea exe cp -ar ~/gitea "$giteaLoc" && echo "ok"