When obexd calls map-agent method, dbus auto-activation was failed.
Because of obexd uses a session bus connection.
Change-Id: Ic22b90d6be46ce2a00276f9c24d8f28beebceeb5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.bluez.map_agent.service
- DESTINATION share/dbus-1/system-services)
+ DESTINATION share/dbus-1/services)
[D-BUS Service]
Name=org.bluez.map_agent
Exec=/usr/bin/bluetooth-map-agent
+User=network_fw
+Group=network_fw
%{_bindir}/bluetooth-map-agent
%{_bindir}/bluetooth-pb-agent
%{_datadir}/dbus-1/system-services/org.bluez.pb_agent.service
-%{_datadir}/dbus-1/system-services/org.bluez.map_agent.service
+%{_datadir}/dbus-1/services/org.bluez.map_agent.service
%{_datadir}/dbus-1/system-services/org.bluez.ag_agent.service
#%{_usrlibdir}/systemd/system/bluetooth-ag-agent.service
#%{_usrlibdir}/systemd/system/multi-user.target.wants/bluetooth-ag-agent.service