gogs configuration file permissions
This commit is contained in:
parent
fb733d603c
commit
0e614b3b9f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue