#!/bin/bash


# make /var/run/mongodb directory

/bin/mkdir /var/run/mongodb | /bin/chown mongod.mongod /var/run/mongodb


# mongod - Startup script for mongod


# chkconfig: 35 85 15

# description: Mongo is a scalable, document-oriented database.

# processname: mongod

# config: /etc/mongod.conf

# pidfile: /var/run/mongodb/mongod.pid

...


'DB > MongoDB' 카테고리의 다른 글

mongodb - /etc/mongod.conf  (0) 2016.01.03
mongo - drop all indexes  (0) 2015.04.07
mongodb - mongodb.service for systemd  (0) 2014.07.20
mongodb - save, insert  (0) 2014.05.08
mongo - v2.6 error  (0) 2014.04.25
Posted by linuxism
,