fix: dump as gitea
This commit is contained in:
@@ -59,7 +59,7 @@ systemctl restart gitea.service
|
||||
|
||||
%preun
|
||||
# Backup gitea data in case of problem
|
||||
gitea dump --config %{_sysconfdir}/gitea/app.ini --tempdir %{_tmppath}
|
||||
runuser --user gitea -- gitea dump --config %{_sysconfdir}/gitea/app.ini --tempdir %{_tmppath}
|
||||
|
||||
%postun
|
||||
# Remove gitea user after uninstall
|
||||
|
||||
Reference in New Issue
Block a user