summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/lightmediascanner/files/lightmediascanner.service')
-rw-r--r--recipes-multimedia/lightmediascanner/files/lightmediascanner.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-multimedia/lightmediascanner/files/lightmediascanner.service b/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
new file mode 100644
index 000000000..63b48ebf9
--- /dev/null
+++ b/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Lightmediascanner (LMS)
+After=run-agl-postinsts.service systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
+ConditionPathIsReadWrite=/var/volatile/tmp
+
+[Service]
+Type=dbus
+Restart=on-failure
+RestartSec=0
+BusName=org.lightmediascanner
+SmackProcessLabel=User::App::agl-service-mediascanner
+ExecStart=/usr/bin/lightmediascannerd --startup-scan --db-path=/var/volatile/tmp/lightmediascannerd.db --directory=/media
+
+[Install]
+WantedBy=multi-user.target
+Alias=dbus-org.lightmediascanner.service