From 9e799cb48f95a99335386b643ba3182178701ab4 Mon Sep 17 00:00:00 2001 From: heuzef Date: Sun, 27 Jan 2019 14:39:11 +0100 Subject: [PATCH] customize log2ram --- log2ram.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 log2ram.conf diff --git a/log2ram.conf b/log2ram.conf new file mode 100644 index 0000000..393d1cf --- /dev/null +++ b/log2ram.conf @@ -0,0 +1,17 @@ +# Configuration file for Log2Ram (https://github.com/azlux/log2ram) under MIT license. +# This configuration file is read by the log2ram service + +# Size for the ram folder, it defines the size the log folder will reserve into the RAM. +# 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. +# You will need to increase it if you have a server and a lot of log for example. +SIZE=10M + +# 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. +# You can choose which one you want. Be sure rsync is installed if you use it. +USE_RSYNC=true + +# If there are some errors with available RAM space, a system mail will be send +# Change it to false and you will have only a log if there is no place on RAM anymore. +MAIL=false