summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorMike Fiedler <miketheman@gmail.com>2012-03-05 18:02:46 -0500
committerMike Fiedler <miketheman@gmail.com>2012-03-06 19:24:35 -0500
commit654671234c900d71cbd7c9d7c60eaf80c9a6f475 (patch)
treefb94db4b29db2e0e8b25da086275934c062dcbd2 /rpm
parent276e5f09ec00fdc7b8131664f4587fe6e9094e74 (diff)
downloadmongo-654671234c900d71cbd7c9d7c60eaf80c9a6f475.tar.gz
SERVER-5179 add requirements for pre/post actions
Diffstat (limited to 'rpm')
-rw-r--r--rpm/mongo.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpm/mongo.spec b/rpm/mongo.spec
index e28f16b2945..96a7f31a213 100644
--- a/rpm/mongo.spec
+++ b/rpm/mongo.spec
@@ -24,6 +24,10 @@ client utilities.
Summary: mongodb server, sharding server, and support scripts
Group: Applications/Databases
Requires: mongo
+Requires(pre): /usr/sbin/useradd
+Requires(pre): /usr/sbin/groupadd
+Requires(post): chkconfig
+Requires(preun): chkconfig
%description server
MongoDB (from "huMONGOus") is a schema-free document-oriented database.