@@ -27,7 +27,8 @@ TELEGRAM_CHAT_ID="your-chat-id-here"
27
27
28
28
# Use Discord to report script execution summary (not the whole report)
29
29
# Set 1 to enable.
30
- # To get your Webhook URL go to the channel settings -> Integrations and create a web hook
30
+ # To get your Webhook URL go to the channel settings -> Integrations and
31
+ # create a web hook
31
32
DISCORD=0
32
33
DISCORD_WEBHOOK_URL=" your-webhook-url"
33
34
@@ -37,14 +38,14 @@ DISCORD_WEBHOOK_URL="your-webhook-url"
37
38
# script or a mail service with custom formatting.
38
39
# If you don't want to use this option, don't make changes to this.
39
40
# $CURRENT_DIR can be used to get the running directory of the script.
40
- # This script will pass the following parameter to HOOK_NOTIFICATION:
41
+ # This script will pass the following parameters to HOOK_NOTIFICATION:
41
42
# 1st parameter will be the subject
42
43
# 2nd parameter will be the body
43
44
HOOK_NOTIFICATION=" "
44
45
45
46
# ## SCRIPT AND SNAPRAID SETTINGS ###
46
47
47
- # Set the threshold of deleted files to stop the sync job from running. NOTE
48
+ # Set the threshold of deleted files to stop the sync job from running. Note
48
49
# that depending on how active your filesystem is being used, a low number here
49
50
# may result in your parity info being out of sync often and/or you having to
50
51
# do lots of manual syncing.
@@ -73,11 +74,12 @@ SCRUB_DELAYED_RUN=0
73
74
# "pre-hash" mode and have all the data read two times to ensure its integrity.
74
75
# This option also verifies the files moved inside the array, to ensure that
75
76
# the move operation went successfully, and in case to block the sync and to
76
- # allow to run a fix operation. 1 to enable, any other values to disable.
77
+ # allow to run a fix operation. 1 to enable, any other value to disable.
77
78
PREHASH=1
78
79
79
80
# Set if disk spindown should be performed. Depending on your system, this may
80
- # not work. 1 to enable, any other values to disable.
81
+ # not work. 1 to enable, any other value to disable.
82
+ # hd-idle is required and must be already configured.
81
83
SPINDOWN=0
82
84
83
85
# Set the option to log SMART info collected by SnapRAID. 1 to enable and any
@@ -87,10 +89,11 @@ SMART_LOG=1
87
89
# Increase verbosity of the email output. If set to 1, TOUCH and DIFF outputs
88
90
# will be kept in the email, producing a mostly unreadable email. Keep this
89
91
# disabled for optimal results. You can always check TOUCH and DIFF outputs
90
- # using the TMP file. 1 to enable, any other values to disable.
92
+ # using the TMP file. 1 to enable, any other value to disable.
91
93
VERBOSITY=0
92
94
93
- # Run snapraid status command to show array general information.
95
+ # Run 'snapraid status' command to show array general information.
96
+ # 1 to enable, any other value to disable.
94
97
SNAP_STATUS=0
95
98
96
99
# ## DOCKER CONTAINERS MANAGEMENT ###
@@ -128,8 +131,8 @@ DOCKER_DELAY=10
128
131
# ## CUSTOM HOOKS ###
129
132
130
133
# Hooks are shell commands that the scripts executes for you.
131
- # You can specify before_hook to perform preparation steps before SnapRAID
132
- # actions and specify after_hook to perform steps afterwards.
134
+ # You can specify ' before_hook' to perform preparation steps before SnapRAID
135
+ # actions and specify ' after_hook' to perform steps afterwards.
133
136
134
137
# Set to 1 to enable custom hooks
135
138
CUSTOM_HOOK=0
@@ -143,7 +146,7 @@ BEFORE_HOOK_NAME=""
143
146
BEFORE_HOOK_CMD=" "
144
147
145
148
# Custom hook after SnapRAID activities
146
- # This custom hook executes after SnapRAID operations an will be the
149
+ # This custom hook executes after SnapRAID operations and will be the
147
150
# last command.
148
151
# This option does not have any effect if CUSTOM_HOOK is set to 0
149
152
# Use NAME for a friendly name, CMD for the command itself.
0 commit comments