Browse Source

Permission on config file

Bob Mottram 8 years ago
parent
commit
02973a691a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone View File

@@ -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