summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorMike Fiedler <miketheman@gmail.com>2012-02-21 11:02:43 -0800
committerMike Fiedler <miketheman@gmail.com>2012-02-21 11:02:43 -0800
commit28b47022a5382b8647a8ea27881c863c9bad17ab (patch)
treee8bfbf4edd6957856ea7b1cd88b97559a4421326 /rpm
parent8b60c3c0eb46c7862a217e7145d32f233a47103e (diff)
parent56d5e59efc28a7c272ce2d984d3253fc9772d45e (diff)
downloadmongo-28b47022a5382b8647a8ea27881c863c9bad17ab.tar.gz
Merge pull request #134 from presbrey/patch-1
SERVER-5008 - Stop server package from overwriting /etc/sysconfig/mongod on upgrade
Diffstat (limited to 'rpm')
-rw-r--r--rpm/mongo.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/mongo.spec b/rpm/mongo.spec
index 51624190003..957284b4276 100644
--- a/rpm/mongo.spec
+++ b/rpm/mongo.spec
@@ -127,7 +127,7 @@ fi
#%{_mandir}/man1/mongod.1*
%{_mandir}/man1/mongos.1*
/etc/rc.d/init.d/mongod
-/etc/sysconfig/mongod
+%config(noreplace) /etc/sysconfig/mongod
#/etc/rc.d/init.d/mongos
%attr(0755,mongod,mongod) %dir /var/lib/mongo
%attr(0755,mongod,mongod) %dir /var/log/mongo