You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application runs scripts in ascending order based on their numeric prefixes. For example:
32
+
The application runs scripts in ascending order based on their numeric prefixes. Scripts added to `/mnt/jrc-comms/hooks/boot.d` will be injected into script located in `/opt/jrc/hooks/boot.d` based on script prefix For example:
28
33
29
-
-`05-mount-recovery-mount` runs first
30
-
-`10-cluster-clean` runs next
31
-
-`99-custom-task` runs last
34
+
-`05-mount-recovery-mount` runs first (found in `/opt/jrc/hooks/boot.d`)
35
+
-`10-cluster-clean` runs next (found in `/opt/jrc/hooks/boot.d`)
36
+
-`99-custom-task` runs last (added to `/mnt/jrc-comms/hooks/boot.d`)
32
37
33
38
**Key rules:**
34
39
- Prefixes determine execution order (e.g., `00-` to `99-`)
35
40
- Use two-digit numbering for clarity (e.g., `05-`, `10-`, `99-`)
36
41
- Scripts with the same prefix may execute in lexicographical order, but avoid ambiguity by using unique prefixes
42
+
- Scripts added to `/mnt/jrc-comms/hooks/boot.d` will persist AMI upgrades, stack clones, etc.
0 commit comments