mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Try to fix Snap.
Thanks to xet7 !
This commit is contained in:
parent
6849bb8af9
commit
031df54a2e
1 changed files with 2 additions and 2 deletions
|
@ -52,14 +52,14 @@ if [ -z "$MONGO_URL" ]; then
|
|||
## OLD: Logging to file.
|
||||
#mongod --dbpath $SNAP_COMMON --logpath $SNAP_COMMON/mongodb.log --logappend --journal $BIND_OPTIONS --smallfiles
|
||||
## NEW: Logging to syslog, that usually has already log rotation.
|
||||
mongod --dbpath $SNAP_COMMON --syslog --journal $BIND_OPTIONS --smallfiles --quiet
|
||||
mongod --dbpath $SNAP_COMMON --syslog --journal $BIND_OPTIONS --quiet
|
||||
|
||||
else
|
||||
|
||||
## OLD: Logging to file.
|
||||
#mongod --dbpath $SNAP_COMMON --logpath $SNAP_COMMON/mongodb.log --logappend --journal $MONGO_URL --smallfiles
|
||||
## NEW: Logging to syslog, that usually has already log rotation.
|
||||
mongod --dbpath $SNAP_COMMON --syslog --journal $MONGO_URL --smallfiles --quiet
|
||||
mongod --dbpath $SNAP_COMMON --syslog --journal $MONGO_URL --quiet
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue