bug fixes
This commit is contained in:
+12
-21
@@ -2,18 +2,6 @@
|
||||
# ----------------------------------------------------------------------------------------------
|
||||
# ---------------------------- Master Variables for unRAID scripts -----------------------------
|
||||
# ----------------------------------------------------------------------------------------------
|
||||
# This is the master.conf file, it contains all the variables used by
|
||||
# all scripts.
|
||||
#
|
||||
# It is sourced by each script at runtime, so any changes here will
|
||||
# affect all scripts immediately.
|
||||
#
|
||||
# This is where you should adjust any settings or variables
|
||||
# that you want to apply globally across all your scripts
|
||||
#
|
||||
# ----------------------------------------------------------------------------------------------
|
||||
# ---------------- User Variables, Please adjust here in Master.conf as needed -----------------
|
||||
# ----------------------------------------------------------------------------------------------
|
||||
|
||||
# ----------------------- Host Configuration --------------------
|
||||
# List the Hostnames of both servers
|
||||
@@ -71,14 +59,16 @@ SSH_PORT=221
|
||||
# Profiles are inferred from the directory basename (lowercased)
|
||||
# Profile-specific rsync options (override global) must list all options as they do not inherit from global
|
||||
# For example, look up at global rsync options above
|
||||
|
||||
# SPACE-SEPARATED STRINGS
|
||||
declare -A PROFILE_RSYNC_OPTS=(
|
||||
[arrs_stack]="-av --info=progress2 --human-readable --bwlimit=$BW_LIMIT --delete --inplace --no-whole-file"
|
||||
[arrs_stack]="-av --info=progress2 --human-readable --bwlimit=$BW_LIMIT --delete --inplace"
|
||||
[critical-data]="-av --human-readable --bwlimit=$BW_LIMIT --delete"
|
||||
[gmer4lfe]="-av --info=progress2 --bwlimit=$BW_LIMIT"
|
||||
[important-data]="-av --human-readable --bwlimit=$BW_LIMIT"
|
||||
[emby]="-av --human-readable --bwlimit=$BW_LIMIT"
|
||||
)
|
||||
# Max rsync processes per profile
|
||||
|
||||
declare -A PROFILE_MAX_PROCS=(
|
||||
[arrs_stack]=2
|
||||
[critical-data]=2
|
||||
@@ -86,7 +76,7 @@ declare -A PROFILE_MAX_PROCS=(
|
||||
[important-data]=2
|
||||
[emby]=1
|
||||
)
|
||||
# Bandwidth limits per profile (KB/s, 0 = unlimited)
|
||||
|
||||
declare -A PROFILE_BW_LIMIT=(
|
||||
[arrs_stack]=5000
|
||||
[critical-data]=9500
|
||||
@@ -94,7 +84,7 @@ declare -A PROFILE_BW_LIMIT=(
|
||||
[important-data]=9500
|
||||
[emby]=8000
|
||||
)
|
||||
# Retry logic per profile
|
||||
|
||||
declare -A PROFILE_RETRY_COUNT=(
|
||||
[arrs_stack]=3
|
||||
[critical-data]=3
|
||||
@@ -102,7 +92,7 @@ declare -A PROFILE_RETRY_COUNT=(
|
||||
[important-data]=3
|
||||
[emby]=3
|
||||
)
|
||||
# Sleep between retries per profile (seconds)
|
||||
|
||||
declare -A PROFILE_SLEEP=(
|
||||
[arrs_stack]=300
|
||||
[critical-data]=300
|
||||
@@ -110,7 +100,8 @@ declare -A PROFILE_SLEEP=(
|
||||
[important-data]=300
|
||||
[emby]=300
|
||||
)
|
||||
# Containers to stop/start per profile (space-separated strings)
|
||||
|
||||
# SPACE-SEPARATED STRINGS
|
||||
declare -A PROFILE_CRITICAL_CONTAINER_NAMES=(
|
||||
[arrs_stack]="Sonarr Lidarr Readarr Radarr Prowlarr Bazarr Pinchflat"
|
||||
[critical-data]="Mariadb-Authelia Redis-Authelia Lldap-Gmer4Lfe NginxProxyManager Authelia"
|
||||
@@ -118,7 +109,7 @@ declare -A PROFILE_CRITICAL_CONTAINER_NAMES=(
|
||||
[important-data]="Postgres-NextCloud NextCloud"
|
||||
[emby]=""
|
||||
)
|
||||
# Delayed containers per profile (space-separated strings)
|
||||
|
||||
declare -A PROFILE_DELAYED_CONTAINERS=(
|
||||
[arrs_stack]=""
|
||||
[critical-data]="Authelia"
|
||||
@@ -126,7 +117,7 @@ declare -A PROFILE_DELAYED_CONTAINERS=(
|
||||
[important-data]="NextCloud"
|
||||
[emby]=""
|
||||
)
|
||||
# Delay in seconds before starting delayed containers per profile (seconds)
|
||||
|
||||
declare -A PROFILE_CONTAINER_DELAY=(
|
||||
[arrs_stack]=5
|
||||
[critical-data]=10
|
||||
@@ -134,7 +125,7 @@ declare -A PROFILE_CONTAINER_DELAY=(
|
||||
[important-data]=10
|
||||
[emby]=5
|
||||
)
|
||||
# Not include logs or other file types during transfer per profile
|
||||
# SPACE-SEPARATED STRINGS
|
||||
declare -A PROFILE_EXCLUDE_DIRS=(
|
||||
[arrs_stack]="logs *.tmp"
|
||||
[critical-data]="logs *.tmp"
|
||||
|
||||
Reference in New Issue
Block a user