From a74378551ab77ee71ba59607cd83b4630b99b26f Mon Sep 17 00:00:00 2001 From: Adam Matthews <52178922+adamsthws@users.noreply.github.com> Date: Sun, 9 Jun 2024 14:57:15 +0100 Subject: [PATCH] Update log2ram.conf Changes to comments for setting: 'PATH_DISK=' --- log2ram.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/log2ram.conf b/log2ram.conf index 891e0df..7e1e8f7 100644 --- a/log2ram.conf +++ b/log2ram.conf @@ -25,9 +25,10 @@ SIZE=128M # You can replace this with any command (such as 'shoutrrr') or a custom script for handling notifications. #NOTIFICATION_COMMAND=mail -s "Log2Ram Error on $HOSTNAME" -# Variable for folders to put in RAM. You need to specify the real folder `/path/folder` , the `/path/hdd.folder` will -# be automatically created. Multiple path can be separeted by `;`. Do not add the final `/` ! -# example : PATH_DISK="/var/log;/home/test/FolderInRam" +# Specify the directories to be stored in RAM. List each directory using its absolute path, e.g., `/path/folder`. +# Corresponding directories on the HDD, named `/path/hdd.folder`, will be automatically created for each listed path. +# Separate multiple paths with a semicolon `;` and do not include a trailing slash at the end of the paths. +# Example: PATH_DISK="/var/log;/home/test/FolderInRam" PATH_DISK="/var/log" # Should log2ram consider journald and do a log rotate before copying the log files back? Please note that for this