diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2014-03-04 18:08:57 +0000 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2014-03-04 16:23:23 -0500 |
commit | ba5c7343e5800b7b84a07a7c69ada22821342efd (patch) | |
tree | 3be76cf77bd00a388c2cdfaa3c08c23951e949f8 /rpm | |
parent | 8298b133ed0bf6bebdac9141f5218785ccd14a66 (diff) | |
download | mongo-ba5c7343e5800b7b84a07a7c69ada22821342efd.tar.gz |
SERVER-13016 Change dbpath from /var/lib/mongodb to /var/lib/mongo
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/mongod.conf | 2 | ||||
-rw-r--r-- | rpm/mongodb-enterprise-unstable.spec | 6 | ||||
-rw-r--r-- | rpm/mongodb-enterprise.spec | 6 | ||||
-rw-r--r-- | rpm/mongodb-org-unstable.spec | 6 | ||||
-rw-r--r-- | rpm/mongodb-org.spec | 6 |
5 files changed, 13 insertions, 13 deletions
diff --git a/rpm/mongod.conf b/rpm/mongod.conf index 256dfc2f3ab..146eeaa9077 100644 --- a/rpm/mongod.conf +++ b/rpm/mongod.conf @@ -10,7 +10,7 @@ fork=true #port=27017 -dbpath=/var/lib/mongodb +dbpath=/var/lib/mongo # location of pidfile pidfilepath=/var/run/mongodb/mongod.pid diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec index 198eb57f7a6..9761d94e5b2 100644 --- a/rpm/mongodb-enterprise-unstable.spec +++ b/rpm/mongodb-enterprise-unstable.spec @@ -91,7 +91,7 @@ mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig cp -v rpm/mongod.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/mongod -mkdir -p $RPM_BUILD_ROOT/var/lib/mongodb +mkdir -p $RPM_BUILD_ROOT/var/lib/mongo mkdir -p $RPM_BUILD_ROOT/var/log/mongodb mkdir -p $RPM_BUILD_ROOT/var/run/mongodb touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log @@ -106,7 +106,7 @@ if ! /usr/bin/id -g mongod &>/dev/null; then /usr/sbin/groupadd -r mongod fi if ! /usr/bin/id mongod &>/dev/null; then - /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongodb -s /bin/false -c mongod mongod > /dev/null 2>&1 + /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongo -s /bin/false -c mongod mongod > /dev/null 2>&1 fi %post server @@ -136,7 +136,7 @@ fi %{_mandir}/man1/mongod.1* /etc/rc.d/init.d/mongod /etc/sysconfig/mongod -%attr(0755,mongod,mongod) %dir /var/lib/mongodb +%attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb %attr(0755,mongod,mongod) %dir /var/run/mongodb %attr(0640,mongod,mongod) %config(noreplace) %verify(not md5 size mtime) /var/log/mongodb/mongod.log diff --git a/rpm/mongodb-enterprise.spec b/rpm/mongodb-enterprise.spec index 4a61d1d4cf1..afb6cd2574a 100644 --- a/rpm/mongodb-enterprise.spec +++ b/rpm/mongodb-enterprise.spec @@ -89,7 +89,7 @@ mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig cp -v rpm/mongod.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/mongod -mkdir -p $RPM_BUILD_ROOT/var/lib/mongodb +mkdir -p $RPM_BUILD_ROOT/var/lib/mongo mkdir -p $RPM_BUILD_ROOT/var/log/mongodb mkdir -p $RPM_BUILD_ROOT/var/run/mongodb touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log @@ -102,7 +102,7 @@ if ! /usr/bin/id -g mongod &>/dev/null; then /usr/sbin/groupadd -r mongod fi if ! /usr/bin/id mongod &>/dev/null; then - /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongodb -s /bin/false -c mongod mongod > /dev/null 2>&1 + /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongo -s /bin/false -c mongod mongod > /dev/null 2>&1 fi %post server @@ -132,7 +132,7 @@ fi %{_mandir}/man1/mongod.1* /etc/rc.d/init.d/mongod /etc/sysconfig/mongod -%attr(0755,mongod,mongod) %dir /var/lib/mongodb +%attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb %attr(0755,mongod,mongod) %dir /var/run/mongodb %attr(0640,mongod,mongod) %config(noreplace) %verify(not md5 size mtime) /var/log/mongodb/mongod.log diff --git a/rpm/mongodb-org-unstable.spec b/rpm/mongodb-org-unstable.spec index 00ced8b02b6..b9e44dbcbe8 100644 --- a/rpm/mongodb-org-unstable.spec +++ b/rpm/mongodb-org-unstable.spec @@ -87,7 +87,7 @@ mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig cp -v rpm/mongod.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/mongod -mkdir -p $RPM_BUILD_ROOT/var/lib/mongodb +mkdir -p $RPM_BUILD_ROOT/var/lib/mongo mkdir -p $RPM_BUILD_ROOT/var/log/mongodb mkdir -p $RPM_BUILD_ROOT/var/run/mongodb touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log @@ -100,7 +100,7 @@ if ! /usr/bin/id -g mongod &>/dev/null; then /usr/sbin/groupadd -r mongod fi if ! /usr/bin/id mongod &>/dev/null; then - /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongodb -s /bin/false -c mongod mongod > /dev/null 2>&1 + /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongo -s /bin/false -c mongod mongod > /dev/null 2>&1 fi %post server @@ -130,7 +130,7 @@ fi %{_mandir}/man1/mongod.1* /etc/rc.d/init.d/mongod /etc/sysconfig/mongod -%attr(0755,mongod,mongod) %dir /var/lib/mongodb +%attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb %attr(0755,mongod,mongod) %dir /var/run/mongodb %attr(0640,mongod,mongod) %config(noreplace) %verify(not md5 size mtime) /var/log/mongodb/mongod.log diff --git a/rpm/mongodb-org.spec b/rpm/mongodb-org.spec index dc976cadf54..cfbaacc71f3 100644 --- a/rpm/mongodb-org.spec +++ b/rpm/mongodb-org.spec @@ -87,7 +87,7 @@ mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig cp -v rpm/mongod.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/mongod -mkdir -p $RPM_BUILD_ROOT/var/lib/mongodb +mkdir -p $RPM_BUILD_ROOT/var/lib/mongo mkdir -p $RPM_BUILD_ROOT/var/log/mongodb mkdir -p $RPM_BUILD_ROOT/var/run/mongodb touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log @@ -100,7 +100,7 @@ if ! /usr/bin/id -g mongod &>/dev/null; then /usr/sbin/groupadd -r mongod fi if ! /usr/bin/id mongod &>/dev/null; then - /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongodb -s /bin/false -c mongod mongod > /dev/null 2>&1 + /usr/sbin/useradd -M -r -g mongod -d /var/lib/mongo -s /bin/false -c mongod mongod > /dev/null 2>&1 fi %post server @@ -130,7 +130,7 @@ fi %{_mandir}/man1/mongod.1* /etc/rc.d/init.d/mongod /etc/sysconfig/mongod -%attr(0755,mongod,mongod) %dir /var/lib/mongodb +%attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb %attr(0755,mongod,mongod) %dir /var/run/mongodb %attr(0640,mongod,mongod) %config(noreplace) %verify(not md5 size mtime) /var/log/mongodb/mongod.log |