modify: cfg adapt parallel start

Signed-off-by: xionglei6 <xionglei6@huawei.com>
This commit is contained in:
xionglei6
2022-02-10 15:47:32 +08:00
parent 47af7b2bca
commit 3fa02dc2cb
+8 -5
View File
@@ -1,14 +1,13 @@
{
"jobs" : [{
"name" : "init",
"name" : "services:samgr",
"cmds" : [
"mkdir /data/sadata_de",
"chmod 755 /data/sadata_de",
"chown system system /data/sadata_de",
"mkdir /data/sadata_de/samgr",
"chmod 755 /data/sadata_de/samgr",
"chown system system /data/sadata_de/samgr",
"start samgr"
"chown system system /data/sadata_de/samgr"
]
}
],
@@ -17,7 +16,11 @@
"path" : ["/system/bin/samgr"],
"critical" : [1, 1, 60],
"uid" : "system",
"gid" : ["system"]
"gid" : ["system"],
"start-mode" : "boot",
"jobs" : {
"on-start" : "services:samgr"
}
}
]
}
}