diff options
author | Sam Kleinman <samk@10gen.com> | 2016-01-19 11:51:36 -0500 |
---|---|---|
committer | Sam Kleinman <samk@10gen.com> | 2016-02-09 13:17:41 -0500 |
commit | 985e2a0be95709ac064c57f0a9bb385a55937285 (patch) | |
tree | 640cabbfa77d72dbf7b8d068403009b347253070 /rpm/mongodb-org.spec | |
parent | 8a58e2fb57806c0ccd415773d490167e783941bf (diff) | |
download | mongo-985e2a0be95709ac064c57f0a9bb385a55937285.tar.gz |
SERVER-20930 SERVER-20404: clarify sysconfig and default config override
Diffstat (limited to 'rpm/mongodb-org.spec')
-rw-r--r-- | rpm/mongodb-org.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm/mongodb-org.spec b/rpm/mongodb-org.spec index 2c8095046ab..00e30576b5c 100644 --- a/rpm/mongodb-org.spec +++ b/rpm/mongodb-org.spec @@ -192,7 +192,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/mongo -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 @@ -221,7 +221,7 @@ fi %{_bindir}/mongod %{_mandir}/man1/mongod.1* /etc/init.d/mongod -/etc/sysconfig/mongod +%config(noreplace) /etc/sysconfig/mongod %attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb %attr(0755,mongod,mongod) %dir /var/run/mongodb |