Update log2ram.conf

Set a bigger default for ramlog size and add a note that tmpfs is not allocating unused space
This commit is contained in:
MegaV0lt 2019-09-27 18:51:21 +02:00 committed by GitHub
parent fe281aaaf9
commit bd960d06db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@
# If it's not enough, log2ram will not be able to use ram. Check you /var/log size folder. # If it's not enough, log2ram will not be able to use ram. Check you /var/log size folder.
# The default is 40M and is basically enough for a lot of applications. # The default is 40M and is basically enough for a lot of applications.
# You will need to increase it if you have a server and a lot of log for example. # You will need to increase it if you have a server and a lot of log for example.
SIZE=40M # Note that tmpfs doesn't reserve this memory, but allocates only the needed memory.
SIZE=100M
# This variable can be set to true if you prefer "rsync" rather than "cp". # This variable can be set to true if you prefer "rsync" rather than "cp".
# I use the command cp -u and rsync -X, so I don't copy the all folder every time for optimization. # I use the command cp -u and rsync -X, so I don't copy the all folder every time for optimization.