diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2014-08-21 16:57:35 -0400 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2014-09-03 11:44:43 -0400 |
commit | 1618aca99b214b96aa71be433876cb90ef5bba8b (patch) | |
tree | 5673a82fadf844508a37d9bfaed44aac0c887f82 /rpm/mongodb-enterprise.spec | |
parent | d70194786886cea722d316d07122c71e3403a801 (diff) | |
download | mongo-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.spec')
-rw-r--r-- | rpm/mongodb-enterprise.spec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpm/mongodb-enterprise.spec b/rpm/mongodb-enterprise.spec index 368c027afd7..93420b6585e 100644 --- a/rpm/mongodb-enterprise.spec +++ b/rpm/mongodb-enterprise.spec @@ -166,9 +166,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 @@ -214,7 +214,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 |