From 56548f409e129fc21f6c42be58f44ef0ffebb58b Mon Sep 17 00:00:00 2001 From: FailedProxy Date: Tue, 24 Mar 2026 22:32:40 +0000 Subject: [PATCH] stable --- Master.conf | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Master.conf b/Master.conf index 20c4dbd..31c3ea4 100644 --- a/Master.conf +++ b/Master.conf @@ -12,21 +12,14 @@ #This allows for one centralized location for all your configurations, making it easier to manage # and maintain your scripts. You can adjust the variables below as needed. # -#----------------------------------------------------------------------------------------------- -#---------------End Of User Variables, Please adjust here in Master.conf as needed ------------- -#----------------------------------------------------------------------------------------------- - #-------------------- Host Configuration -------------------- -# Hostnames of both servers +# List the Hostnames of both servers HOST1="unRAID-Gmer4Lfe" HOST2="unRAID-Jayred365" - - +# Assign SSH keys for each host pair (adjust paths as needed) HOST1 from above +# Must have its key added to HOST1_SSH_Key same applies for HOST2 HOST1_SSH_KEY="/root/.ssh/Gmer4Lfe-rsync-key" HOST2_SSH_KEY="/root/.ssh/Jayred365-rsync-key" -#----------------------------------------------------------------------------------------------- -#----------------- User Variables -------------------------------------------------------------- -#----------------------------------------------------------------------------------------------- #--------------------Rsync Script Defaults----------------------- # Network speed limit (KB/s) @@ -58,9 +51,9 @@ PHP_CONF="/etc/php-fpm.d/www.conf" # php_fpm_max_children.sh max children value PHP_MAX_CHILDREN=250 -#---------------------------------------------------------------------------------------------- -#----------------------------------- Profile System ------------------------------------------- -#---------------------------------------------------------------------------------------------- + +#----------------------- Profile System ------------------------ + # Profiles are mainly used for rsync operations, but can be used for any variable that needs # to be different based on the source or destination. # @@ -122,9 +115,16 @@ PROFILE_EXCLUDE_DIRS["gmer4lfe"]="logs *.tmp" PROFILE_EXCLUDE_DIRS["important-data"]="logs *.tmp" PROFILE_EXCLUDE_DIRS["emby"]="logs *.tmp" #----------------------------------------------------------------------------------------------- -#---------------End Of User Variables, Please adjust here in Master.conf as needed ------------- +#----------------------End Of User Variables, Please adjust Above as needed -------------------- +#----------------------------------------------------------------------------------------------- +# +# Next is commom runtime logic, tried to include logic in a common script but was having trouble +# So now its at the botton of the file, but please do not adjust unless you understand the code +# and what it does, as changes here will affect all scripts that source this master.conf file +# +#----------------------------------------------------------------------------------------------- +#--------------------Run Logic, Do not adjust unless you understand the code ------------------- #----------------------------------------------------------------------------------------------- - # Detect local hostname LOCAL_HOSTNAME="$(hostname)" if [[ "$LOCAL_HOSTNAME" == "$HOST1" ]]; then