enable file permission adjustments for restore
This commit is contained in:
parent
2430e7483a
commit
8c67f86aa7
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function main() {
|
|||
cp /var/backups/restore/git/repositories/* /data/git/repositories/
|
||||
|
||||
# adjust file permissions
|
||||
#chown -R git:git /data
|
||||
chown -R git:git /data
|
||||
|
||||
# Regenerate Git Hooks
|
||||
/usr/local/bin/gitea -c '/data/gitea/conf/app.ini' admin regenerate hooks
|
||||
|
|
Loading…
Reference in a new issue