summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/lightmediascanner/files/lightmediascanner.service
blob: d8f51647b0fd8e69487c3cd0b5dc9f530f29d465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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
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