From 03ef60ee0aed59deb1f554a3a194ad2ff54be276 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Fri, 26 Jul 2019 02:54:29 +0300 Subject: recipes-multimedia: lightmediascanner: move database to globally accessible area On runtime the agl-service-mediaplayer needs to access the sqlite3 database from lightmediascanner. Thus the database needs to be in an accessible location, and with the correct permissions. Bug-AGL: SPEC-2655 Change-Id: Ia1fc9ce7fa2f782ebc1784e130152baebb441cad Signed-off-by: Matt Ranostay --- .../lightmediascanner/files/lightmediascanner.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta-agl-profile-core/recipes-multimedia') diff --git a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service index b75e19e25..3a9d42b0d 100644 --- a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service +++ b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service @@ -4,9 +4,8 @@ Description=Lightmediascanner (LMS) [Service] Type=dbus BusName=org.lightmediascanner -UMask=0077 SmackProcessLabel=User::App::agl-service-mediascanner -ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/run/user/%U/usrshr/lightmediascannerd.db --directory=/media --directory=/home/0/Music --directory=/home/0/Videos +ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/var/volatile/tmp/lightmediascannerd.db --directory=/media --directory=/home/0/Music --directory=/home/0/Videos [Install] WantedBy=multi-user.target -- cgit 1.2.3-korg