mirror of
https://gitee.com/openharmony/security_huks
synced 2024-12-13 17:46:02 +00:00
init cfg 配置
Signed-off-by: Vincentchenhao <chenhao286@huawei.com>
This commit is contained in:
parent
d3713e9c98
commit
f7284f4903
@ -14,7 +14,11 @@
|
||||
import("//build/ohos.gni")
|
||||
|
||||
ohos_prebuilt_etc("huks_service.rc") {
|
||||
source = "huks_service.rc"
|
||||
if (use_musl) {
|
||||
source = "huks_service.cfg"
|
||||
} else {
|
||||
source = "huks_service.rc"
|
||||
}
|
||||
relative_install_dir = "init"
|
||||
subsystem_name = "security"
|
||||
part_name = "huks_standard"
|
||||
|
16
services/huks_standard/huks_service.cfg
Executable file
16
services/huks_standard/huks_service.cfg
Executable file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"jobs" : [{
|
||||
"name" : "post-fs-data",
|
||||
"cmds" : [
|
||||
"start huks_service"
|
||||
]
|
||||
}
|
||||
],
|
||||
"services" : [{
|
||||
"name" : "huks_service",
|
||||
"path" : ["/system/bin/sa_main", "/system/profile/huks_service.xml"],
|
||||
"uid" : "system",
|
||||
"gid" : ["system", "shell"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user