Skip to content

Commit 496b748

Browse files
author
Oliver Cervera
authored
Small tweaks
1 parent 9239ff1 commit 496b748

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

script-config.sh

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ TELEGRAM_CHAT_ID="your-chat-id-here"
2727

2828
# Use Discord to report script execution summary (not the whole report)
2929
# 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
3132
DISCORD=0
3233
DISCORD_WEBHOOK_URL="your-webhook-url"
3334

@@ -37,14 +38,14 @@ DISCORD_WEBHOOK_URL="your-webhook-url"
3738
# script or a mail service with custom formatting.
3839
# If you don't want to use this option, don't make changes to this.
3940
# $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:
4142
# 1st parameter will be the subject
4243
# 2nd parameter will be the body
4344
HOOK_NOTIFICATION=""
4445

4546
### SCRIPT AND SNAPRAID SETTINGS ###
4647

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
4849
# that depending on how active your filesystem is being used, a low number here
4950
# may result in your parity info being out of sync often and/or you having to
5051
# do lots of manual syncing.
@@ -73,11 +74,12 @@ SCRUB_DELAYED_RUN=0
7374
# "pre-hash" mode and have all the data read two times to ensure its integrity.
7475
# This option also verifies the files moved inside the array, to ensure that
7576
# 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.
7778
PREHASH=1
7879

7980
# 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.
8183
SPINDOWN=0
8284

8385
# Set the option to log SMART info collected by SnapRAID. 1 to enable and any
@@ -87,10 +89,11 @@ SMART_LOG=1
8789
# Increase verbosity of the email output. If set to 1, TOUCH and DIFF outputs
8890
# will be kept in the email, producing a mostly unreadable email. Keep this
8991
# 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.
9193
VERBOSITY=0
9294

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.
9497
SNAP_STATUS=0
9598

9699
### DOCKER CONTAINERS MANAGEMENT ###
@@ -128,8 +131,8 @@ DOCKER_DELAY=10
128131
### CUSTOM HOOKS ###
129132

130133
# 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.
133136

134137
# Set to 1 to enable custom hooks
135138
CUSTOM_HOOK=0
@@ -143,7 +146,7 @@ BEFORE_HOOK_NAME=""
143146
BEFORE_HOOK_CMD=""
144147

145148
# 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
147150
# last command.
148151
# This option does not have any effect if CUSTOM_HOOK is set to 0
149152
# Use NAME for a friendly name, CMD for the command itself.

0 commit comments

Comments
 (0)