Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Start(process *Process, hooks map[Event][]string)
-> Start(p, map[Event][]string{
"premount": {"/usr/local/bin/backup-tmp"}, // executed in mnt namespace, before setting any mount points
"postmount": {"/usr/local/bin/restore-tmp"}, // executed in mnt namespace, after setting any mount points, before pivot root
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.