summaryrefslogtreecommitdiffstats
path: root/snap-src/bin
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-02-08 19:43:21 +0200
committerLauri Ojansivu <x@xet7.org>2019-02-08 19:43:21 +0200
commit79ffb7d50202471c7b7f297286f13e66ce30922e (patch)
tree94bb7bdedff13668a12f981f622c149618f69bed /snap-src/bin
parent96e97143f26bfcf1fa56394f386846f94aaacec1 (diff)
downloadwekan-79ffb7d50202471c7b7f297286f13e66ce30922e.tar.gz
wekan-79ffb7d50202471c7b7f297286f13e66ce30922e.tar.bz2
wekan-79ffb7d50202471c7b7f297286f13e66ce30922e.zip
- Add oplog to snap mongodb.
Thanks to xet7 !
Diffstat (limited to 'snap-src/bin')
-rwxr-xr-xsnap-src/bin/mongodb-control2
1 files changed, 1 insertions, 1 deletions
diff --git a/snap-src/bin/mongodb-control b/snap-src/bin/mongodb-control
index a7a98739..2154a602 100755
--- a/snap-src/bin/mongodb-control
+++ b/snap-src/bin/mongodb-control
@@ -29,4 +29,4 @@ if [ "x" != "x${MONGODB_PORT}" ]; then
fi
echo "mongodb bind options: $BIND_OPTIONS"
-mongod --dbpath $SNAP_COMMON --logpath $SNAP_COMMON/mongodb.log --logappend --journal $BIND_OPTIONS
+mongod --dbpath $SNAP_COMMON --logpath $SNAP_COMMON/mongodb.log --logappend --journal $BIND_OPTIONS --smallfiles --oplogSize 128