summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-06-14 15:01:14 -0700
committerSage Weil <sage@inktank.com>2013-06-17 15:47:24 -0700
commit2d771b57082545e139086f3c5c9f79ba47101a14 (patch)
tree8db3afb7cdf6ce3ec3d97526bac37f1a840e29b9
parentdfe421e44cfa13178950258509a0cf71e308daa1 (diff)
downloadceph-2d771b57082545e139086f3c5c9f79ba47101a14.tar.gz
ceph.spec: install/uninstall init script
This was commented out almost years ago in commit 9baf5ef4 but it is not clear to me that it was correct to do so. In any case, we are not installing the rc.d links for ceph, which means it does not start up after a reboot. Signed-off-by: Sage Weil <sage@inktank.com> (cherry picked from commit cc9b83a80262d014cc37f0c974963cf7402a577a)
-rw-r--r--ceph.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 44636651e0a..6c0579091cf 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -324,7 +324,7 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
-#/sbin/chkconfig --add ceph
+/sbin/chkconfig --add ceph
%preun
%if %{defined suse_version}
@@ -332,7 +332,7 @@ rm -rf $RPM_BUILD_ROOT
%endif
if [ $1 = 0 ] ; then
/sbin/service ceph stop >/dev/null 2>&1
-# /sbin/chkconfig --del ceph
+ /sbin/chkconfig --del ceph
fi
%postun