summaryrefslogtreecommitdiff
path: root/community-staging/mongodb/mongodb.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/mongodb/mongodb.install')
-rwxr-xr-xcommunity-staging/mongodb/mongodb.install31
1 files changed, 0 insertions, 31 deletions
diff --git a/community-staging/mongodb/mongodb.install b/community-staging/mongodb/mongodb.install
deleted file mode 100755
index 152f36515..000000000
--- a/community-staging/mongodb/mongodb.install
+++ /dev/null
@@ -1,31 +0,0 @@
-# vim: syntax=sh
-
-show_msg(){
- if [ "$(arch)" != "x86_64" ]
- then
- cat <<END
-###########################################################################
-# Warning: the 32 bit version of MongoDB is limited to about 2GB of data. #
-# See http://blog.mongodb.org/post/137788967/32-bit-limitations #
-###########################################################################
-END
- fi
-}
-
-post_install() {
- useradd -r -g daemon -d /var/state/mongodb -s /bin/false mongodb
- chown -R mongodb:daemon /var/state/mongodb
-
- show_msg
-}
-
-post_upgrade() {
- chown -R mongodb:daemon /var/state/mongodb
-
- show_msg
-}
-
-pre_remove() {
- /etc/rc.d/mongodb stop
- userdel mongodb
-}