Creating also log directory

This commit is contained in:
2021-01-14 23:27:59 +01:00
parent f874b7f03a
commit e7b524ef2c

View File

@@ -56,6 +56,10 @@ step_4() {
exe mkdir /etc/gitea exe mkdir /etc/gitea
exe chown root:git /etc/gitea exe chown root:git /etc/gitea
exe chmod 770 /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..." echo -n "Copying gitea to global location and making it executable..."
exe chmod +x ~/gitea exe chmod +x ~/gitea
exe cp -ar ~/gitea "$giteaLoc" && echo "ok" exe cp -ar ~/gitea "$giteaLoc" && echo "ok"