diff --git a/scripts/gogsinstall.sh b/scripts/gogsinstall.sh index 847ecf1..229f24c 100644 --- a/scripts/gogsinstall.sh +++ b/scripts/gogsinstall.sh @@ -21,7 +21,7 @@ export VER=0.12.10 sudo wget https://dl.gogs.io/0.12.10/gogs_{VER}_linux_amd64.tar.gz tar xvf linux_amd64.tar.gz sudo apt install git -y -sudo adduser git +sudo adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git sudo mkdir /var/log/gogs sudo chown -R git:git /var/log/gogs/ sudo wget -O /etc/systemd/system/gogs.service https://git.oldgate.org/Sophia/thelinuxlist/raw/branch/main/systemd/gogs.service