未验证 提交 6b274032 编写于 作者: O openharmony_ci 提交者: Gitee

!1976 xml改成json

Merge pull request !1976 from 林裕强/master
{
"services" : [{
"name" : "param_watcher",
"path" : ["/system/bin/sa_main", "/system/profile/param_watcher.xml"],
"path" : ["/system/bin/sa_main", "/system/profile/param_watcher.json"],
"uid" : "paramwatcher",
"start-mode" : "boot",
"gid" : ["paramwatcher", "shell"],
......
......@@ -10,7 +10,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
service param_watcher /system/bin/sa_main /system/profile/param_watcher.xml
service param_watcher /system/bin/sa_main /system/profile/param_watcher.json
class z_core
user system
group system shell
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<info>
<process>param_watcher</process>
<systemability>
<name>3901</name>
<libpath>libparam_watcher.z.so</libpath>
<run-on-create>true</run-on-create>
<distributed>false</distributed>
<dump-level>1</dump-level>
</systemability>
</info>
......@@ -14,7 +14,7 @@
import("//build/ohos/sa_profile/sa_profile.gni")
ohos_sa_profile("param_watcher_profile") {
sources = [ "3901.xml" ]
sources = [ "param_watcher.json" ]
part_name = "init"
}
{
"process": "param_watcher",
"systemability": [
{
"name": 3901,
"libpath": "libparam_watcher.z.so",
"run-on-create": true,
"distributed": false,
"dump_level": 1
}
]
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册