diff --git a/rdma.service b/rdma.service index c4b92b6..ef31379 100644 --- a/rdma.service +++ b/rdma.service @@ -1,12 +1,15 @@ [Unit] Description=Initialize the iWARP/InfiniBand/RDMA stack in the kernel -Documentation=file:///etc/rdma/rdma.conf +Documentation=file:/etc/rdma/rdma.conf RefuseManualStop=true DefaultDependencies=false +Conflicts=emergency.target emergency.service +Before=network.target remote-fs-pre.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/rdma-init-kernel -Before=network.target,remote-fs.target -Wants=sysinit.target + +[Install] +WantedBy=sysinit.target diff --git a/rdma.spec b/rdma.spec index a79cf5c..b679ffe 100644 --- a/rdma.spec +++ b/rdma.spec @@ -6,7 +6,7 @@ Summary: Infiniband/iWARP Kernel Module Initializer Name: rdma Version: 2.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base Source0: rdma.conf @@ -90,6 +90,9 @@ fi %{_initrddir}/%{name} %changelog +* Mon Nov 26 2012 Doug Ledford - 2.0-3 +- Minor corrections to systemd service file + * Mon Nov 26 2012 Doug Ledford - 2.0-2 - Minor whitespace cleanups - Correct the usage of MTRR_SCRIPT in rdma-init-kernel