summaryrefslogtreecommitdiff
path: root/ceph.spec.in
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 09:49:54 -0700
commitcc9b83a80262d014cc37f0c974963cf7402a577a (patch)
tree46fb7d7e27a51a023ff39b974e279f07ccc8202a /ceph.spec.in
parent13680976ef6899cb33109f6f841e99d4d37bb168 (diff)
downloadceph-cc9b83a80262d014cc37f0c974963cf7402a577a.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>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r--ceph.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 3c9ac20902a..06026771bc0 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -325,7 +325,7 @@ rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
-#/sbin/chkconfig --add ceph
+/sbin/chkconfig --add ceph
%preun
%if %{defined suse_version}
@@ -333,7 +333,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