summaryrefslogtreecommitdiff
path: root/rpm/mongodb-enterprise-unstable.spec
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2014-08-21 16:57:35 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2014-09-03 11:44:43 -0400
commit1618aca99b214b96aa71be433876cb90ef5bba8b (patch)
tree5673a82fadf844508a37d9bfaed44aac0c887f82 /rpm/mongodb-enterprise-unstable.spec
parentd70194786886cea722d316d07122c71e3403a801 (diff)
downloadmongo-1618aca99b214b96aa71be433876cb90ef5bba8b.tar.gz
SERVER-10642 Use /etc/init.d/ directory instead of /etc/rc.d/init.d/ directory in spec files
Diffstat (limited to 'rpm/mongodb-enterprise-unstable.spec')
-rw-r--r--rpm/mongodb-enterprise-unstable.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec
index 87aea76254b..ce3e33f3cfc 100644
--- a/rpm/mongodb-enterprise-unstable.spec
+++ b/rpm/mongodb-enterprise-unstable.spec
@@ -155,9 +155,9 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
# FIXME: remove this rm when mongosniff is back in the package
rm -v $RPM_BUILD_ROOT/usr/share/man/man1/mongosniff.1*
-mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
-cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
-chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
+mkdir -p $RPM_BUILD_ROOT/etc/init.d
+cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod
+chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod
mkdir -p $RPM_BUILD_ROOT/etc
cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
@@ -205,7 +205,7 @@ fi
%config(noreplace) /etc/mongod.conf
%{_bindir}/mongod
%{_mandir}/man1/mongod.1*
-/etc/rc.d/init.d/mongod
+/etc/init.d/mongod
/etc/sysconfig/mongod
%attr(0755,mongod,mongod) %dir /var/lib/mongo
%attr(0755,mongod,mongod) %dir /var/log/mongodb