[rdma] Put the Install section back in the service file

Doug Ledford dledford at fedoraproject.org
Tue Nov 27 21:33:34 UTC 2012


commit 9174fe012ea48cdbbc9645cf150a317714af1443
Author: Doug Ledford <dledford at redhat.com>
Date:   Tue Nov 27 16:32:49 2012 -0500

    Put the Install section back in the service file
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 rdma.service |    2 ++
 rdma.spec    |    6 +++++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/rdma.service b/rdma.service
index 0310be8..ef31379 100644
--- a/rdma.service
+++ b/rdma.service
@@ -11,3 +11,5 @@ Type=oneshot
 RemainAfterExit=yes
 ExecStart=/usr/sbin/rdma-init-kernel
 
+[Install]
+WantedBy=sysinit.target
diff --git a/rdma.spec b/rdma.spec
index 990747d..a3a4040 100644
--- a/rdma.spec
+++ b/rdma.spec
@@ -6,7 +6,7 @@
 Summary: Infiniband/iWARP Kernel Module Initializer
 Name: rdma
 Version: 2.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: rdma.conf
@@ -90,6 +90,10 @@ fi
 %{_initrddir}/%{name}
 
 %changelog
+* Tue Nov 27 2012 Doug Ledford <dledford at redhat.com> - 2.0-5
+- Oops, we really do need that install section in our service file, so
+  put it back
+
 * Tue Nov 27 2012 Doug Ledford <dledford at redhat.com> - 2.0-4
 - Don't add an Install section to our service file, that way we aren't
   started unless our hardware is detected


More information about the scm-commits mailing list