diff --git a/src/freedombone b/src/freedombone index edb5d9c2..d6c4a248 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6771,6 +6771,8 @@ quit" > $INSTALL_DIR/batch.sql mysql -u root --password="$MARIADB_PASSWORD" < $INSTALL_DIR/batch.sql shred -zu $INSTALL_DIR/batch.sql + chmod 600 /home/git/go/src/github.com/gogits/gogs/custom/conf/app.ini + chown -R git:git /home/git cp $GOPATH/src/github.com/gogits/gogs/scripts/systemd/gogs.service /etc/systemd/system sed -i 's|#After=mysqld.service|After=mysqld.service|g' /etc/systemd/system/gogs.service