diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-09-19 04:20:07 +0300 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-09-24 09:42:47 +0000 |
commit | 74cf5051780a322cb81382971c93efb0306a5ef9 (patch) | |
tree | b2e3c6a6586266f1fcd8163594d6770fc4aac4db /meta-agl-profile-core/recipes-multimedia | |
parent | 0fde830e52253e877ac23d625416e8f20e440965 (diff) |
recipes-multimedia: lightmediascanner: save database to /tmp/$UID/lightmediascannerd.db
To prevent using a corrupted SQLite3 database that is possible with cheap USB media it is
better to generate on every bootup.
Bug-AGL: SPEC-1744
Change-Id: I2da9f71697ecf04f37f6f0141a46c57c059169b6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'meta-agl-profile-core/recipes-multimedia')
-rw-r--r-- | meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service | 2 |
1 files changed, 1 insertions, 1 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 33cf27ed0..e53b24719 100644 --- a/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service +++ b/meta-agl-profile-core/recipes-multimedia/lightmediascanner/files/lightmediascanner.service @@ -4,7 +4,7 @@ Description=Lightmediascanner (LMS) [Service] Type=dbus BusName=org.lightmediascanner -ExecStart=/usr/bin/lightmediascannerd --startup-scan --directory=/media --directory=${HOME}/Music --directory=${HOME}/Videos +ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/tmp/%U/lightmediascannerd.db --directory=/media --directory=%h/Music --directory=%h/Videos [Install] WantedBy=default.target |