Created
March 10, 2015 18:19
-
-
Save dqminh/b63dea986033f714ba82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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