diff --git a/services/5203.json b/services/5203.json new file mode 100644 index 0000000000000000000000000000000000000000..f2cea23b508d9e713f952add650a737d3ef9de93 --- /dev/null +++ b/services/5203.json @@ -0,0 +1,12 @@ +{ + "process": "backup_sa", + "systemability": [ + { + "name": 5203, + "libpath": "libbackup_sa.z.so", + "run-on-create": false, + "distributed": false, + "dump_level": 1 + } + ] +} \ No newline at end of file diff --git a/services/5203.xml b/services/5203.xml deleted file mode 100644 index 9e204f7bb4fc366ca484c462a1af3c0797244b89..0000000000000000000000000000000000000000 --- a/services/5203.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - backup_sa - - libbackup_sa.z.so - - - 5203 - libbackup_sa.z.so - - - false - false - 1 - - diff --git a/services/BUILD.gn b/services/BUILD.gn index f1c6028b5b1f54d1a1d32a21e9d837159a27647f..755d2cb5807bbb0ab14c4773e94fd0d5d2796dd5 100644 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -19,7 +19,7 @@ group("backup_para_etc") { } ohos_sa_profile("backup_sa_profile") { - sources = [ "5203.xml" ] + sources = [ "5203.json" ] part_name = "app_file_service" } diff --git a/services/backup.cfg b/services/backup.cfg index 40c460399464eca84ba8b3836c007e4622ccd907..aa8e15a8b83e3d6fe4c1927ad129ead61631c296 100644 --- a/services/backup.cfg +++ b/services/backup.cfg @@ -1,7 +1,7 @@ { "services" : [{ "name" : "backup_sa", - "path" : ["/system/bin/sa_main", "/system/profile/backup_sa.xml"], + "path" : ["/system/bin/sa_main", "/system/profile/backup_sa.json"], "ondemand" : true, "uid" : "backup", "gid" : ["backup"],