WWW.DBVERSITY.COM
WWW.DBVERSITY.COM
Menu
  • Home
  • About us
  • Discussions
  • Login / Register
Welcome to the world of Database Technologies
Browse: Home » [MongoDB]: To add mongod to Linux startup

[MongoDB]: To add mongod to Linux startup

May 22, 2015 · by dbversity · in Linux, MongoDB

mongod script: #!/bin/bash # mongod – Startup script for mongod # description: Mongo is a scalable, document-oriented database. # chkconfig: 35 85 15 MONGO_USER=mongod if [ `id -nu` != $MONGO_USER -a `id -nu` != “root” ]; then echo “Exiting –…

Categories

Categories

Copyright © 2025 WWW.DBVERSITY.COM

Powered by WordPress and Origin