Centos7 设置Mongodb开机启动-自定义服务

来源:互联网 发布:中学生英语学习软件 编辑:程序博客网 时间:2024/05/16 11:13

http://blog.csdn.net/i_vic/article/details/53466348



dbpath=/usr/context/mongodb/data/db/
logpath=/usr/context/mongodb/data/log/mongodb.log
logappend=true
port=27017
fork=true
nohttpinterface=true
#auth=true 这个不要了




-----

MongoDB在CentOS 6下实现开机自启动

http://blog.csdn.net/ran5909729/article/details/51441579