summaryrefslogtreecommitdiff
path: root/rpm/mongodb-enterprise-unstable.spec
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2016-01-19 11:51:36 -0500
committerSam Kleinman <samk@10gen.com>2016-02-09 13:17:41 -0500
commit985e2a0be95709ac064c57f0a9bb385a55937285 (patch)
tree640cabbfa77d72dbf7b8d068403009b347253070 /rpm/mongodb-enterprise-unstable.spec
parent8a58e2fb57806c0ccd415773d490167e783941bf (diff)
downloadmongo-985e2a0be95709ac064c57f0a9bb385a55937285.tar.gz
SERVER-20930 SERVER-20404: clarify sysconfig and default config override
Diffstat (limited to 'rpm/mongodb-enterprise-unstable.spec')
-rw-r--r--rpm/mongodb-enterprise-unstable.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec
index d62a92b3280..cd4c66607b8 100644
--- a/rpm/mongodb-enterprise-unstable.spec
+++ b/rpm/mongodb-enterprise-unstable.spec
@@ -183,7 +183,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
@@ -212,7 +212,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