summaryrefslogtreecommitdiff
path: root/rpm/mongo.mdv.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/mongo.mdv.spec')
-rw-r--r--rpm/mongo.mdv.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpm/mongo.mdv.spec b/rpm/mongo.mdv.spec
index b73fec66824..d45dd1b0359 100644
--- a/rpm/mongo.mdv.spec
+++ b/rpm/mongo.mdv.spec
@@ -91,9 +91,9 @@ scons --prefix=$RPM_BUILD_ROOT/usr all
scons --prefix=$RPM_BUILD_ROOT%{_usr} install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
cp debian/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
-cp rpm/init.d-mongod $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/mongod
-chmod a+x $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/mongod
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
+cp rpm/init.d-mongod $RPM_BUILD_ROOT%{_sysconfdir}/init.d/mongod
+chmod a+x $RPM_BUILD_ROOT%{_sysconfdir}/init.d/mongod
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
cp rpm/mongod.conf $RPM_BUILD_ROOT%{_sysconfdir}/mongod.conf
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
@@ -156,7 +156,7 @@ fi
%{_bindir}/mongod
%{_bindir}/mongos
%{_mandir}/man1/mongos.1*
-%{_sysconfdir}/rc.d/init.d/mongod
+%{_sysconfdir}/init.d/mongod
%{_sysconfdir}/sysconfig/mongod
%attr(0755,mongod,mongod) %dir %{_var}/lib/mongo
%attr(0755,mongod,mongod) %dir %{_var}/log/mongo