Skip to content

Commit

Permalink
obs-server fix build on factory
Browse files Browse the repository at this point in the history
- use service_del_postun_without_restart instead of the deprecated
  service_del_postun -n
  • Loading branch information
bugfinder committed Apr 30, 2024
1 parent 2604aa5 commit 2ecbf4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/obs-server.spec
Expand Up @@ -757,13 +757,13 @@ rmdir %{obs_backend_data_dir} 2> /dev/null || :
%postun -n obs-common
# NOT used on purpose: restart_on_update obsstoragesetup
# This is just run once on boot
%service_del_postun -n obsstoragesetup.service
%service_del_postun_without_restart obsstoragesetup.service

%postun -n obs-worker
# NOT used on purpose: restart_on_update obsworker
# This can cause problems when building chroot
# and bs_worker is anyway updating itself at runtime based on server code
%service_del_postun -n obsworker.service
%service_del_postun_without_restart obsworker.service

%postun -n obs-cloud-uploader
%service_del_postun -r obsclouduploadworker.service
Expand Down

0 comments on commit 2ecbf4d

Please sign in to comment.