From 074b903e0a2a241b2b68211bd5a9a2dbe686d259 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Fri, 21 Oct 2022 03:02:15 -0700 Subject: [PATCH] Update 'scripts/gogsinstall.sh' --- scripts/gogsinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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