diff --git a/systemd.spec b/systemd.spec index 491e270..80c194c 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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}