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