(logFile: string | undefined)
| 57 | } |
| 58 | |
| 59 | const readLogTail = (logFile: string | undefined): string => { |
| 60 | if (!logFile) return ""; |
| 61 | try { |
| 62 | return readFileSync(logFile, "utf8").slice(-BOOT_LOG_TAIL_BYTES).trim(); |
| 63 | } catch { |
| 64 | return ""; |
| 65 | } |
| 66 | }; |
| 67 | |
| 68 | export const bootProcesses = ( |
| 69 | procs: ReadonlyArray<{ |