Author: nunofsantos
Date: 2007-11-26 18:15:56 -0500 (Mon, 26 Nov 2007)
New Revision: 1363
Added:
store/trunk/cpp/etc/rhmd.sh
Modified:
store/trunk/cpp/rhm.spec.in
Log:
add startup script
Added: store/trunk/cpp/etc/rhmd.sh
===================================================================
--- store/trunk/cpp/etc/rhmd.sh (rev 0)
+++ store/trunk/cpp/etc/rhmd.sh 2007-11-26 23:15:56 UTC (rev 1363)
@@ -0,0 +1,2 @@
+#!/bin/bash
+/usr/sbin/qpidd --config=/etc/rhmd.conf $*
Modified: store/trunk/cpp/rhm.spec.in
===================================================================
--- store/trunk/cpp/rhm.spec.in 2007-11-26 22:43:50 UTC (rev 1362)
+++ store/trunk/cpp/rhm.spec.in 2007-11-26 23:15:56 UTC (rev 1363)
@@ -39,6 +39,7 @@
make install DESTDIR=%{buildroot}
install -Dp -m0755 etc/rhmd %{buildroot}%{_initrddir}/rhmd
install -Dp -m0755 etc/rhmd.sh %{buildroot}%{_sbindir}/rhmd
+install -d -m0775 %{buildroot}%{_localstatedir}/rhm
rm -f %{buildroot}%_libdir/*.a
rm -f %{buildroot}%_libdir/*.la
rm -f %{buildroot}%_libdir/*.so
@@ -56,6 +57,7 @@
%_libdir/libbdbstore.so.0.1.0
%_initrddir/rhmd
%_sbindir/rhmd
+%attr(0775,root,root) %dir %_localstatedir/rhm
%config(noreplace) %_sysconfdir/rhmd.conf
%post
Show replies by date