[mongod.conf] added

[package.json] add script "mongod"
This commit is contained in:
Luk Lu
2019-09-24 02:48:05 +08:00
parent 99202f110b
commit 7a36b7dfa8
3 changed files with 28 additions and 5 deletions

11
mongod.conf Normal file
View File

@@ -0,0 +1,11 @@
processManagement:
fork: true
net:
port: 6842
bindIpAll: true
security:
javascriptEnabled: true
systemLog:
path: /data/log/mongo.log #日志路径。
destination: file #日志输出方式。file/syslog,如果是file需指定path默认是输出到标准输出流中