[rdma] Fix the systemd service file
Doug Ledford
dledford at fedoraproject.org
Tue Nov 27 20:24:02 UTC 2012
commit f9efa7d50ea9d92b2323b1ba626446c765bc4001
Author: Doug Ledford <dledford at redhat.com>
Date: Tue Nov 27 15:23:46 2012 -0500
Fix the systemd service file
Signed-off-by: Doug Ledford <dledford at redhat.com>
rdma.service | 2 --
rdma.spec | 6 +++++-
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/rdma.service b/rdma.service
index ef31379..0310be8 100644
--- a/rdma.service
+++ b/rdma.service
@@ -11,5 +11,3 @@ Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/rdma-init-kernel
-[Install]
-WantedBy=sysinit.target
diff --git a/rdma.spec b/rdma.spec
index b679ffe..990747d 100644
--- a/rdma.spec
+++ b/rdma.spec
@@ -6,7 +6,7 @@
Summary: Infiniband/iWARP Kernel Module Initializer
Name: rdma
Version: 2.0
-Release: 3%{?dist}
+Release: 4%{?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-4
+- Don't add an Install section to our service file, that way we aren't
+ started unless our hardware is detected
+
* Mon Nov 26 2012 Doug Ledford <dledford at redhat.com> - 2.0-3
- Minor corrections to systemd service file
More information about the scm-commits
mailing list