This commit is contained in:
2020-11-14 11:23:40 +03:00
parent a7f5ca6cf3
commit a55f18fb7e
2 changed files with 37 additions and 0 deletions

8
gitea-setup Normal file
View File

@@ -0,0 +1,8 @@
adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git
mkdir -p /var/lib/gitea/{custom,data,indexers,public,log}
chown git:git /var/lib/gitea/{data,indexers,log}
chmod 750 /var/lib/gitea/{data,indexers,log}
mkdir /etc/gitea
chown root:git /etc/gitea
chmod 770 /etc/gitea