startup_appspawn/cjappspawn.cfg
yh 3ea19bb7da add setuid
Signed-off-by: yh <yanghao236@huawei.com>
Change-Id: I0c281a950a3fb924d43ba4103f378459ff451a52
2024-10-26 15:23:56 +08:00

30 lines
1.1 KiB
INI

{
"services" : [{
"name" : "cjappspawn",
"path" : ["/system/bin/cjappspawn",
"-mode appspawn",
"--process-name com.ohos.appspawn.startup --start-flags daemon --type standard ",
"--sandbox-switch on --bundle-name com.ohos.appspawn.startup --app-operate-type operate ",
"--render-command command --app-launch-type singleton --app-visible true"],
"uid" : "root",
"gid" : ["root"],
"setuid" : true,
"importance" : -20,
"socket" : [{
"name" : "CJAppSpawn",
"family" : "AF_LOCAL",
"type" : "SOCK_STREAM",
"protocol" : "default",
"permissions" : "0660",
"uid" : "root",
"gid" : "appspawn",
"option" : [
]
}],
"start-mode" : "boot",
"sandbox" : 0,
"ondemand" : true,
"secon" : "u:r:cjappspawn:s0"
}
]
}