]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec: install/uninstall init script
authorSage Weil <sage@inktank.com>
Fri, 14 Jun 2013 22:01:14 +0000 (15:01 -0700)
committerSage Weil <sage@inktank.com>
Mon, 17 Jun 2013 16:49:54 +0000 (09:49 -0700)
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>
ceph.spec.in

index 3c9ac20902aeda9d80fd5910b6d45b914996a227..06026771bc04ae093d6a28e47a1607bdd0fd16bf 100644 (file)
@@ -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