- systemd.spec: during package updates, restart localed, timedated and hostnamed

if they're running.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1444
This commit is contained in:
Franck Bui 2023-09-22 15:05:44 +00:00 committed by Git OBS Bridge
parent c92f800b3c
commit bac4d989f2
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 22 15:04:54 UTC 2023 - Franck Bui <fbui@suse.com>
- systemd.spec: during package updates, restart localed, timedated and hostnamed
if they're running.
-------------------------------------------------------------------
Fri Sep 22 14:23:38 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -1068,7 +1068,10 @@ fi
%postun
# Avoid restarting logind until fixed upstream (issue #1163)
%systemd_postun_with_restart systemd-hostnamed.service
%systemd_postun_with_restart systemd-journald.service
%systemd_postun_with_restart systemd-localed.service
%systemd_postun_with_restart systemd-timedated.service
%systemd_postun_with_restart systemd-userdbd.service
%pre -n udev%{?mini}