diff options
author | presbrey <presbrey+jwp@gmail.com> | 2011-10-24 19:30:33 -0300 |
---|---|---|
committer | presbrey <presbrey+jwp@gmail.com> | 2011-10-24 19:30:33 -0300 |
commit | 56d5e59efc28a7c272ce2d984d3253fc9772d45e (patch) | |
tree | 68c50db4dcbf03361d03684ed1fc06a3831de7fa /rpm | |
parent | 541aa57d8fd4c8c1938daba0f004caa2076b2d08 (diff) | |
download | mongo-56d5e59efc28a7c272ce2d984d3253fc9772d45e.tar.gz |
Stop server package from overwriting /etc/sysconfig/mongod on upgrade
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/mongo.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/mongo.spec b/rpm/mongo.spec index 502f8f2ecb1..56d991b7ac0 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 |