[dev-db/mongodb] for 6 migrate socket to /run and change logdir creation to tmpfiles

This commit is contained in:
2024-06-06 15:20:40 +02:00
parent 94ebf5ce48
commit 360db7b1ab
5 changed files with 77 additions and 16 deletions

View File

@@ -0,0 +1,32 @@
# !! IMPORTANT !!
#
# This file uses the YAML format as described in the documentation:
# http://docs.mongodb.org/manual/reference/configuration-options/
systemLog:
destination: file
path: "/var/log/mongodb/mongos.log"
quiet: true
logAppend: true
net:
port: 27017
bindIp: 127.0.0.1
unixDomainSocket:
pathPrefix: "/run/mongodb"
ssl:
mode: disabled
#security:
#keyFile:
#clusterAuthMode:
#sharding:
#configDB:
# Specifies one of the MongoDB parameters described here:
# http://docs.mongodb.org/manual/reference/parameters/
#
# You can specify multiple setParameter fields such as:
# setParameter: {enableTestCommands: 1}
#setParameter: