Permission on config file
This commit is contained in:
parent
8fc2cdec8c
commit
02973a691a
|
@ -6742,6 +6742,8 @@ function install_gogs {
|
|||
echo '[service]' >> $GOGS_CONFIG_FILE
|
||||
echo 'DISABLE_REGISTRATION = false' >> $GOGS_CONFIG_FILE
|
||||
|
||||
#cp -r /home/git/go/src/github.com/gogits/gogs/custom /home/git/gvm/pkgsets/go${GO_VERSION}/global/src/github.com/gogits/gogs
|
||||
chmod 750 $GOGS_CONFIG_FILE
|
||||
chown -R git:git /home/git
|
||||
|
||||
systemctl restart gogs
|
||||
|
|
Loading…
Reference in New Issue