Small check in case config not good

This commit is contained in:
Azlux 2020-05-21 20:37:27 +02:00
parent 6d5b84ba75
commit 1406472d8a
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,10 @@
. /etc/log2ram.conf
if [ -z "$PATH_DISK" ]; then
PATH_DISK="/var/log"
fi
LOG_NAME="log2ram.log"

View File

@ -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 *************************************************