Grooooot 7be59a7c67 iSulad: sync openeuler at 3.6
Signed-off-by: Grooooot <isula@huawei.com>
2020-03-06 14:58:03 +08:00

39 lines
1.1 KiB
JSON

{
"prestart": [
{
"path": "/home/hooks/start.bash",
"args": ["arg0", "arg1", "arg2"],
"timeout": 40,
"env": [ "key1=value1"]
}
],
"poststart": [
{
"path": "/home/hooks/post1.bash",
"args": ["arg5", "arg6", "arg7"],
"timeout": 60,
"env": [ "key2=value221"]
},
{
"path": "/home/hooks/post2.bash",
"args": ["arg51", "arg61", "arg71"],
"timeout": 61,
"env": [ "key3=value3"]
}
],
"poststop": [
{
"path": "/home/hooks/stop1.bash",
"args": ["arg11", "arg12", "arg13"],
"timeout": 60,
"env": [ "key2=value221"]
},
{
"path": "/home/hooks/stop2.bash",
"args": ["arg52", "arg62", "arg72"],
"timeout": 62,
"env": [ "key4=value4"]
}
]
}