You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
331B

  1. adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git
  2. mkdir -p /var/lib/gitea/{custom,data,indexers,public,log}
  3. chown git:git /var/lib/gitea/{data,indexers,log}
  4. chmod 750 /var/lib/gitea/{data,indexers,log}
  5. mkdir /etc/gitea
  6. chown root:git /etc/gitea
  7. chmod 770 /etc/gitea