From c190ed9000343c2baf022266405e47dd2aadf273 Mon Sep 17 00:00:00 2001 From: Yunmi Ha Date: Fri, 22 Nov 2019 15:50:27 +0900 Subject: [PATCH] Add dlog_cleanup service in activation handler Change-Id: I4990e97109faa25b33896cecfbf4c3c22eddfc25 Signed-off-by: Yunmi Ha (cherry picked from commit 247eba3362e6300e1b93bd032f26d2d136a5e858) --- activation.conf | 1 + dbus_listener.conf | 1 + unit_control_whitelist.conf | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/activation.conf b/activation.conf index 2678c4e..2da87d5 100644 --- a/activation.conf +++ b/activation.conf @@ -1,4 +1,5 @@ { "rules":[ + {"event":"dbus_signal", "id":"need_cleanup", "action":"StartUnit", "target":"dlog_cleanup.service", "match":{"arg1":0}} ] } diff --git a/dbus_listener.conf b/dbus_listener.conf index 92a52f4..0dd4a20 100644 --- a/dbus_listener.conf +++ b/dbus_listener.conf @@ -1,4 +1,5 @@ { "signals":[ + {"id":"need_cleanup", "interface":"org.tizen.system.storage.lowmem", "member":"NeedCleanup", "path":"/Org/Tizen/System/Storage/Lowmem"} ] } diff --git a/unit_control_whitelist.conf b/unit_control_whitelist.conf index 11b950d..af4eeee 100644 --- a/unit_control_whitelist.conf +++ b/unit_control_whitelist.conf @@ -10,6 +10,7 @@ "bluetooth-rfkill-block.service", "bluetooth-rfkill-unblock.service", "bluez-start.service", - "bluetooth-share-start.service" + "bluetooth-share-start.service", + "dlog_cleanup.service" ] } -- 2.7.4