diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-28 05:45:55 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-28 05:45:55 +0000 |
commit | 4d22176132f4a830ab0cc510dabbc9f8c1c362ea (patch) | |
tree | 9f97e7a21013e7ed7de7edb5426650be3a7b73e3 /community-staging/mongodb/mongodb.install | |
parent | 33feb015eb09eee76827f359e685fce981d88111 (diff) |
Sat May 28 05:45:54 UTC 2011
Diffstat (limited to 'community-staging/mongodb/mongodb.install')
-rwxr-xr-x | community-staging/mongodb/mongodb.install | 31 |
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 -} |