Browse Source

gogs configuration file permissions

Bob Mottram 10 years ago
parent
commit
0e614b3b9f
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone View File

@@ -6771,6 +6771,8 @@ quit" > $INSTALL_DIR/batch.sql
6771 6771
   mysql -u root --password="$MARIADB_PASSWORD" < $INSTALL_DIR/batch.sql
6772 6772
   shred -zu $INSTALL_DIR/batch.sql
6773 6773
 
6774
+  chmod 600 /home/git/go/src/github.com/gogits/gogs/custom/conf/app.ini
6775
+
6774 6776
   chown -R git:git /home/git
6775 6777
   cp $GOPATH/src/github.com/gogits/gogs/scripts/systemd/gogs.service /etc/systemd/system
6776 6778
   sed -i 's|#After=mysqld.service|After=mysqld.service|g' /etc/systemd/system/gogs.service