Implemented the fix regarding mongod error messages
This commit is contained in:
parent
bb4b7c52c1
commit
cccf8db790
@ -9,4 +9,8 @@ if [ ! -f /.dockerenv ]; then
|
||||
mount -t tmpfs -o size=512m tmpfs /mnt/mongo-ramdisk
|
||||
fi
|
||||
|
||||
chown -R mongodb:mongodb /mnt/mongo-ramdisk
|
||||
if id mongod &> /dev/null; then
|
||||
chown -R mongod:mongod /mnt/mongo-ramdisk
|
||||
else
|
||||
chown -R mongodb:mongodb /mnt/mongo-ramdisk
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user