nixos/gitea: init/migrate db in startup script

This commit is contained in:
Zane van Iperen 2021-08-06 20:01:42 +10:00 committed by Raphael Megzari
parent 9d3c98c11f
commit 99d8d553da

View file

@ -522,6 +522,9 @@ in
(umask 027; gitea_setup)
''}
# run migrations/init the database
${gitea}/bin/gitea migrate
# update all hooks' binary paths
${gitea}/bin/gitea admin regenerate hooks