From e8d2f63f35c9663fa12220b1b163307abbcea241 Mon Sep 17 00:00:00 2001 From: xionglei6 Date: Thu, 10 Feb 2022 15:47:32 +0800 Subject: [PATCH] modify: cfg adapt parallel start Signed-off-by: xionglei6 --- services/samgr/native/samgr_standard.cfg | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/services/samgr/native/samgr_standard.cfg b/services/samgr/native/samgr_standard.cfg index 890eb1fc..0b75d904 100755 --- a/services/samgr/native/samgr_standard.cfg +++ b/services/samgr/native/samgr_standard.cfg @@ -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" + } } ] -} \ No newline at end of file +} -- Gitee