Files
Shakeel, Muhammad 19a61e1f0c tracker: Do not use hardcoded paths in systemd service files
- 'sed' base_bindir and libexecdir in service files to align these
with a particular distro
- Fix whitespaces

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-17 19:06:27 +02:00

16 lines
419 B
Desktop File

[Unit]
Description=tracker DBus session bus handler
Before=tracker-store.service
After=dbus.service
Requires=dbus.service
BindTo=tracker-store.service
[Service]
Type=forking
EnvironmentFile=-/tmp/tracker.env
ExecStartPre=@BASE_BINDIR@/rm -rf /tmp/tracker.env
ExecStart=/bin/sh -c 'echo "DBUS_SESSION_BUS_ADDRESS=`dbus-daemon --fork --session --print-address`" > /tmp/tracker.env'
[Install]
WantedBy=multi-user.target