Skip to content

Commit

Permalink
redhat: Add missing rdma-load-modules systemd scriptlets
Browse files Browse the repository at this point in the history
Add the missing systemd restart bits for the rdma-load-modules.

Signed-off-by: Kamal Heib <[email protected]>
  • Loading branch information
Kamalheib committed Feb 12, 2025
1 parent 65bedad commit 880315d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions redhat/rdma-core.spec
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,18 @@ if [ -x /sbin/udevadm ]; then
/sbin/udevadm trigger --subsystem-match=net --action=change || true
/sbin/udevadm trigger --subsystem-match=infiniband_mad --action=change || true
fi
%systemd_post [email protected]
%systemd_post [email protected]
%systemd_post [email protected]

%preun -n rdma-core
%systemd_preun [email protected]
%systemd_preun [email protected]
%systemd_preun [email protected]
%postun -n rdma-core
%systemd_postun_with_restart [email protected]
%systemd_postun_with_restart [email protected]
%systemd_postun_with_restart [email protected]

%post -n infiniband-diags -p /sbin/ldconfig
%postun -n infiniband-diags -p /sbin/ldconfig
Expand Down

0 comments on commit 880315d

Please sign in to comment.