diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-26 02:54:29 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-07-26 09:30:11 +0000 |
commit | 03ef60ee0aed59deb1f554a3a194ad2ff54be276 (patch) | |
tree | df19e35100be25d47cbe413152bfcb7db20bc47a /meta-agl-profile-core/recipes-multimedia/lightmediascanner/files | |
parent | a3564c68e9a5268ede1988a65559cb22a0fd98b5 (diff) |
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 <matt.ranostay@konsulko.com>
Diffstat (limited to 'meta-agl-profile-core/recipes-multimedia/lightmediascanner/files')
-rw-r--r-- | meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service | 3 |
1 files changed, 1 insertions, 2 deletions
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 |