瀏覽代碼

Small check in case config not good

tags/1.5.1
Azlux 4 年之前
父節點
當前提交
1406472d8a
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. +4
    -0
      log2ram
  2. +1
    -0
      log2ram.conf

+ 4
- 0
log2ram 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存