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