|
@@ -6742,6 +6742,8 @@ function install_gogs {
|
6742
|
6742
|
echo '[service]' >> $GOGS_CONFIG_FILE
|
6743
|
6743
|
echo 'DISABLE_REGISTRATION = false' >> $GOGS_CONFIG_FILE
|
6744
|
6744
|
|
|
6745
|
+ #cp -r /home/git/go/src/github.com/gogits/gogs/custom /home/git/gvm/pkgsets/go${GO_VERSION}/global/src/github.com/gogits/gogs
|
|
6746
|
+ chmod 750 $GOGS_CONFIG_FILE
|
6745
|
6747
|
chown -R git:git /home/git
|
6746
|
6748
|
|
6747
|
6749
|
systemctl restart gogs
|