Update 'scripts/gogsinstall.sh'
This commit is contained in:
parent
9ae4ccf38d
commit
074b903e0a
|
@ -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
|
||||
|
|
Reference in New Issue
Block a user