mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-27 01:00:38 +00:00
3ea19bb7da
Signed-off-by: yh <yanghao236@huawei.com> Change-Id: I0c281a950a3fb924d43ba4103f378459ff451a52
30 lines
1.1 KiB
INI
30 lines
1.1 KiB
INI
{
|
|
"services" : [{
|
|
"name" : "nativespawn",
|
|
"path" : ["/system/bin/nativespawn",
|
|
"-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" : "NativeSpawn",
|
|
"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:nativespawn:s0"
|
|
}
|
|
]
|
|
} |