Files
phs_v1.0.1.0/base/startup/init/test/moduletest/init_test.cfg
2024-09-27 19:16:49 +08:00

50 lines
1.6 KiB
INI
Executable File

{
"jobs" : [{
"name" : "param:test.randrom.read.start=1",
"condition" : "test.randrom.read.start=1",
"cmds" : [
"param_randrom_write test.randrom.read 100"
]
},
{
"name" : "param:startup.service.ctl.group-test-stage1=2",
"condition" : "startup.service.ctl.group-test-stage1=2",
"cmds" : [
"start group-test-stage2"
]
},
{
"name" : "param:startup.service.ctl.group-test-stage2=2",
"condition" : "startup.service.ctl.group-test-stage2=2",
"cmds" : [
"start group-test-stage3"
]
}
],
"services" : [{
"name" : "group-test-stage1",
"start-mode" : "normal",
"path" : ["/system/bin/begetctl", "init", "group", "test", "group-test-stage1"],
"once" : 1
},
{
"name" : "group-test-stage2",
"start-mode" : "condition",
"path" : ["/system/bin/begetctl", "init", "group", "test", "group-test-stage2"],
"once" : 1
},
{
"name" : "group-test-stage3",
"start-mode" : "condition",
"path" : ["/system/bin/begetctl", "init", "group", "test", "wait", "group-test-stage4"],
"once" : 1
},
{
"name" : "group-test-stage4",
"start-mode" : "condition",
"path" : ["/system/bin/begetctl", "init", "group", "test", "group-test-stage4"],
"once" : 1
}
]
}