diff options
author | 2019-07-22 23:26:40 +0300 | |
---|---|---|
committer | 2019-07-25 20:58:34 +0000 | |
commit | 63ced87df20d656b8cdb485aa69e23943f82c574 (patch) | |
tree | ea604e2e36b9017fcf878ec74027b4caad20bf4d /meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/dbus-lightmediascanner.conf | |
parent | 27f73fc39198f807d019fe1a47571ec8da727b42 (diff) |
recipes-multimedia: lightmediascanner: switch from user dbus session to system
To avoid multiple instances of lightmediascanner from being created
it should run only once in the system dbus session.
Bug-AGL: SPEC-2655
Change-Id: I6c9510926f82ec9eb5625d63d08998a145504227
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
(cherry picked from commit af1c6967f09a51c600742de6e299255ff07b4a47)
Diffstat (limited to 'meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/dbus-lightmediascanner.conf')
-rw-r--r-- | meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/dbus-lightmediascanner.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/dbus-lightmediascanner.conf b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/dbus-lightmediascanner.conf index 9cb321ba9..8a9e35b09 100644 --- a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/dbus-lightmediascanner.conf +++ b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/dbus-lightmediascanner.conf @@ -1,7 +1,12 @@ <?xml version="1.0"?> <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> - <policy context="default"> + <policy user="root"> + <allow own="org.lightmediascanner"/> <allow send_destination="org.lightmediascanner"/> <allow receive_type="signal" receive_sender="org.lightmediascanner" receive_interface="org.freedesktop.DBus.Properties"/> </policy> + + <policy at_console="true"> + <allow send_destination="org.lightmediascanner"/> + </policy> </busconfig> |