NOTE: I do not have time to keep the table of contents up to date, so there are going to be other scripts within this thread that are not listed here.
Just a thread to contain any/all additional scripts created by users for use within the user.scripts plugin. I'm going to be using this thread for anything that pops into my head that may be of use but is either too simple for a plugin format, or just not worth the time for something that may only get run once.
Idea
Run A Custom Script At Parity Check / Rebuild Start And Stop
Use it to run a custom script to (as an example), shut down various docker applications, etc. Adjust the variables within the script file.
Note that you either need to run this in the background or at array start. Running this in the foreground will not work.
#!/usr/bin/php
<?PHP
# A simple script to allow you to run a custom script when a parity check starts or stops
# Adjust the following variables to suit:
$check