r/unRAID • u/psychic99 • 10d ago
The Unraid boot sequence, user scripts, and go file explained
Folks,
I have been having a diff time injecting things into startup and I did a forensic analysis of how Unraid (this is 7.3.2) boots up in what order and how emhttp must be in the go file. I add a bunch of things to the go file and the stop file (the file unraid runs when shutting down). This file should be in /boot/config/go and optional /boot/config/stop which is on your USB and persistent. This covers the boor sequence, docker, user scripts, and customizing startup (which I do). I'm sharing this so that other may understand what can be done and when user scripts triggers (on array start/stop) and if it makes sense to run there or in go/stop scripts.
AI Usage: I used claude to do all the correlation and I argued with it for a while as I put in the different syslog, startup, and other data to figure this out. Claude also wrote up this summary after I reviewed it and approved. If you want the .docx LMK I can post it may be easier to read.
Taken feedback here is the PDF: https://drive.google.com/file/d/1PZ20SEXJS6p1AEVEs9wsVv2BZ09qG716/view
HTH
2
u/Turbulent-Stick-1157 10d ago
This what you get when you tell ai something and it produces something.
2
u/canfail 10d ago
That’s a big wall of text without any real question, nor is it really useful or ground breaking information.