mirror of https://github.com/containers/podman.git
Fix sample's JSON syntax error in oci-hooks.5.md
Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
This commit is contained in:
parent
a8993bab78
commit
bc32afadd9
|
@ -88,9 +88,9 @@ $ cat /etc/containers/oci/hooks.d/oci-systemd-hook.json
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"hook": {
|
"hook": {
|
||||||
"path": "/usr/libexec/oci/hooks.d/oci-systemd-hook"
|
"path": "/usr/libexec/oci/hooks.d/oci-systemd-hook"
|
||||||
}
|
},
|
||||||
"when": {
|
"when": {
|
||||||
"commands": [".*/init$" , ".*/systemd$"],
|
"commands": [".*/init$" , ".*/systemd$"]
|
||||||
},
|
},
|
||||||
"stages": ["prestart", "poststop"]
|
"stages": ["prestart", "poststop"]
|
||||||
}
|
}
|
||||||
|
@ -105,9 +105,9 @@ $ cat /etc/containers/oci/hooks.d/oci-umount.json
|
||||||
"hook": {
|
"hook": {
|
||||||
"path": "/usr/libexec/oci/hooks.d/oci-umount",
|
"path": "/usr/libexec/oci/hooks.d/oci-umount",
|
||||||
"args": ["oci-umount", "--debug"],
|
"args": ["oci-umount", "--debug"],
|
||||||
}
|
},
|
||||||
"when": {
|
"when": {
|
||||||
"hasBindMounts": true,
|
"hasBindMounts": true
|
||||||
},
|
},
|
||||||
"stages": ["prestart"]
|
"stages": ["prestart"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue