How do I make a safe array stop, reboot, shutdown in unRaid 6 from terminal?
The stop-array here does not work for me anymore (maybe due to my btrf dual drive cache?): https://wiki.lime-technology.com/How-To's
When I inspect WebGui's reboot /usr/local/emhttp/plugins/dynamix/include/Boot.php it seems it runs either (but I'm not certain I read the code correctly)
/sbin/reboot
/sbin/poweroff
Is it safe to run these to get proper shutdown of array?
The "CAUGHT" thing is because "screen" isn't running. Don't worry about it.
At the end of the day, you're going to be better off with a simple
powerdown -r
Because
It almost everything listed in the script. (Notable exception is killing screen, but you can have the Tips&Tweaks plugin do that for you at shutdown / restart)
Does it correctly, in the correct order, and is not tied to the setup of the script creator (IE: its not stopping VMs, unmou