From: Sage Weil Date: Fri, 14 Jun 2013 22:01:14 +0000 (-0700) Subject: ceph.spec: install/uninstall init script X-Git-Tag: v0.65~48^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc9b83a80262d014cc37f0c974963cf7402a577a;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 3c9ac20902ae..06026771bc04 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