diff --git a/log2ram b/log2ram index 2cbdb57..f7bcb36 100755 --- a/log2ram +++ b/log2ram @@ -2,6 +2,10 @@ . /etc/log2ram.conf +if [ -z "$PATH_DISK" ]; then + PATH_DISK="/var/log" +fi + LOG_NAME="log2ram.log" diff --git a/log2ram.conf b/log2ram.conf index 7c509ac..b057eab 100644 --- a/log2ram.conf +++ b/log2ram.conf @@ -17,6 +17,7 @@ USE_RSYNC=false MAIL=true # 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" PATH_DISK="/var/log" # **************** Zram backing conf *************************************************