This hook runs on every container start, including restarts, host reboots, and updates. Use it for runtime state that should be restored every time the container starts.Documentation Index
Fetch the complete documentation index at: https://agent37.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
File path
Create this file:When to use it
This hook is useful when you want to:- start background services
- restart a local app or worker
- recreate temporary directories
- restore runtime-only state
Timeout
Example
Tips
- Put long-running processes in the background when needed
- Keep the script short and predictable
- Test the commands manually in Terminal before relying on the hook