fix: dump as gitea
This commit is contained in:
@@ -59,7 +59,7 @@ systemctl restart gitea.service
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
# Backup gitea data in case of problem
|
# 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
|
%postun
|
||||||
# Remove gitea user after uninstall
|
# Remove gitea user after uninstall
|
||||||
|
|||||||
Reference in New Issue
Block a user