mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Small check in case config not good
This commit is contained in:
parent
6d5b84ba75
commit
1406472d8a
4
log2ram
4
log2ram
@ -2,6 +2,10 @@
|
||||
|
||||
. /etc/log2ram.conf
|
||||
|
||||
if [ -z "$PATH_DISK" ]; then
|
||||
PATH_DISK="/var/log"
|
||||
fi
|
||||
|
||||
LOG_NAME="log2ram.log"
|
||||
|
||||
|
||||
|
@ -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 *************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user