Fix that bt-serivce can't find DBUS_SESSION_BUS_ADDRESS
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bluetooth-frwk-service.service
1 # bt-service check previous BT-connection status and re-activate BT when boot.
2
3 [Unit]
4 Description=Bluetooth Framework Service
5
6 [Service]
7 Type=dbus
8 BusName=org.projectx.bt
9 Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket
10 ExecStart=/usr/bin/bt-service
11 RemainAfterExit=yes
12
13 [Install]
14 WantedBy=tizen-middleware.target