diff options
author | Gary Lowell <glowell@inktank.com> | 2013-02-19 17:25:27 -0800 |
---|---|---|
committer | Gary Lowell <glowell@inktank.com> | 2013-04-11 23:02:08 -0700 |
commit | ae71b576a7396bf44f052845af7561cc0436486a (patch) | |
tree | 69c753e95dbf1cfacb327b89c8fc5f322dd699a5 /ceph.spec.in | |
parent | d777b8e66b2e950266e52589c129b00f77b8afc0 (diff) | |
download | ceph-ae71b576a7396bf44f052845af7561cc0436486a.tar.gz |
init-radosgw.sysv: New radosgw init file for rpm based systems
Added init-radosgw.sys file for rpm based systems, added it to
the tarball list in the makefile, and updated the specfile to
install it. Also added the a dependency in ceph since it uses
utility routes from that package (On debian systems these are
packaged in ceph-common). Incorporated review comments from
Alex. (Bug #4571)
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index fc4d5466db7..1e5d7f5b818 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -289,10 +289,10 @@ make DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph -install -D src/init-radosgw $RPM_BUILD_ROOT%{_initrddir}/ceph-radosgw -mkdir -p $RPM_BUILD_ROOT%{_sbindir} -ln -sf ../../etc/init.d/ceph %{buildroot}/%{_sbindir}/rcceph -ln -sf ../../etc/init.d/ceph-radosgw %{buildroot}/%{_sbindir}/rcceph-radosgw +install -D src/init-radosgw.sysv $RPM_BUILD_ROOT%{_initrddir}/ceph-radosgw +mkdir -p $RPM_BUILD_ROOT/usr/sbin +ln -sf ../../etc/init.d/ceph %{buildroot}/usr/sbin/rcceph +ln -sf ../../etc/init.d/ceph-radosgw %{buildroot}/usr/sbin/rcceph-radosgw install -m 0644 -D src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph install -m 0644 -D src/rgw/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/radosgw chmod 0644 $RPM_BUILD_ROOT%{_docdir}/ceph/sample.ceph.conf |