1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

tweaks to get mongodb autotarting

This commit is contained in:
George Hunt 2018-05-21 23:28:21 +00:00
parent 732547b9e7
commit e0309cd5d4
10 changed files with 13 additions and 31 deletions

View file

@ -18,13 +18,13 @@ pidfilepath = /var/run/mongodb/mongod.pid
logpath = /var/log/mongodb/mongod.log
# Alternative directory for UNIX domain sockets (defaults to /tmp)
unixSocketPrefix = /var/run/mongodb
# unixSocketPrefix = /var/run/mongodb
# Directory for datafiles (defaults to /data/db/)
dbpath = /library/dbdata/mongodb
# Enable/Disable journaling (journaling is on by default for 64 bit)
#journal = true
journal = true
#nojournal = true
@ -37,7 +37,7 @@ dbpath = /library/dbdata/mongodb
#verbose = v
# Max number of simultaneous connections (1000000 by default)
#maxConns = 1000000
maxConns = 1000
# Log to system's syslog facility instead of file or stdout (false by default)
#syslog = true

View file

@ -1 +0,0 @@
OPTIONS=' -f /etc/mongod.conf '

View file

@ -7,7 +7,7 @@ Type=forking
User=mongodb
Group=mongodb
PIDFile=/var/run/mongodb/mongod.pid
EnvironmentFile=/etc/sysconfig/mongodb
#EnvironmentFile=/etc/sysconfig/mongodb
ExecStart=/usr/bin/mongod -f /etc/mongod.conf
[Install]

View file

@ -1 +0,0 @@
OPTIONS=' -f /etc/mongod.conf '