|
- 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
|