Add %triggerun
to call systemctl preset for systemd-oomd
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
This commit is contained in:
parent
c4675f57dd
commit
9a909cfdf6
@ -755,6 +755,10 @@ if systemctl -q is-enabled systemd-resolved.service &>/dev/null; then
|
||||
systemctl start systemd-resolved.service &>/dev/null || :
|
||||
fi
|
||||
|
||||
%triggerun -- systemd < 247.3-2
|
||||
# This is for upgrades from previous versions before oomd-defaults is available
|
||||
systemctl --no-reload preset systemd-oomd.service &>/dev/null || :
|
||||
|
||||
%post libs
|
||||
%{?ldconfig}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user