-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.yml
16 lines (15 loc) · 1.22 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Configuration for the mover script
Paths:
CACHE_PATH: /mnt/cache-disks/cache01 #The path to your cache directory. !!THIS IS YOUR CACHE DISK ROOT, NOT MERGERFS CACHE MOUNT!!
BACKING_PATH: /mnt/media-cold #The path to the backing storage pool where files will be moved.
LOG_PATH: /var/log/cache-mover.log #The path for the log file generated by the script.
Settings:
THRESHOLD_PERCENTAGE: 70 #The usage percentage of the cache directory that triggers the file-moving process.
TARGET_PERCENTAGE: 25 #The target usage percentage to achieve after moving files.
MAX_WORKERS: 8 #The maximum number of parallel file-moving operations. Lower this if you don't have many disks or your cache isn't a speedy boii.
MAX_LOG_SIZE_MB: 100 #The maximum size for the log file before it's rotated.
BACKUP_COUNT: 5 #The number of backup log files to maintain.
USER: media #The username that should have ownership of the files.
GROUP: media #The group that should have ownership of the files.
FILE_CHMOD: '770' # The permissions to set for the above user/group on all files moved. MUST BE A STRING!! (Inside '')
DIR_CHMOD: '770' # The permissions to set for the above user/group on all directories created. MUST BE A STRING!! (Inside '')