Bladeren bron

Small check in case config not good

tags/1.5.1
Azlux 4 jaren geleden
bovenliggende
commit
1406472d8a
2 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. +4
    -0
      log2ram
  2. +1
    -0
      log2ram.conf

+ 4
- 0
log2ram Bestand weergeven

@@ -2,6 +2,10 @@

. /etc/log2ram.conf

if [ -z "$PATH_DISK" ]; then
PATH_DISK="/var/log"
fi

LOG_NAME="log2ram.log"




+ 1
- 0
log2ram.conf Bestand weergeven

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


Laden…
Annuleren
Opslaan