From 8d04da8ea48f8367984e60949f5ee2baacfd643a Mon Sep 17 00:00:00 2001 From: xulei123 Date: Mon, 28 Apr 2025 12:43:55 +0000 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=90=AF=E5=81=9C=E7=89=B9?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xulei123 --- services/etc/3002.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/services/etc/3002.json b/services/etc/3002.json index 3c72b4a93..c37169bee 100644 --- a/services/etc/3002.json +++ b/services/etc/3002.json @@ -4,9 +4,21 @@ { "name": 3002, "libpath": "libmedia_service.z.so", - "run-on-create": true, + "run-on-create": false, + "auto-restart": true, "distributed": false, - "dump_level": 1 + "start-on-demand": { + "param": [ + { + "name": "bootevent.samgr.ready", + "value": "true" + } + ] + }, + "stop-on-demand": { + "allow-update": false, + "longtimeunused-unload": 180 + } } ] } \ No newline at end of file -- Gitee