Creating also log directory
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user