Change-Id: I8cae80323be6c3b9d953b67d5cb5eab5f81e2abe
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
DESTINATION /etc/dbus-1/system.d)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/bluetooth-service.conf
DESTINATION /etc/dbus-1/system.d)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/org.tizen.comms.service
+ DESTINATION share/dbus-1/system-services)
# BLUEZ-TEST
SET(BLUEZ-TEST "bluez-lib-test")
%config %{_sysconfdir}/dbus-1/system.d/bluezlib.conf
%config %{_sysconfdir}/dbus-1/system.d/bluezobex.conf
%config %{_sysconfdir}/dbus-1/system.d/bluetooth-service.conf
+%{_datadir}/dbus-1/system-services/org.tizen.comms.service
%files test
%manifest %{name}.manifest
--- /dev/null
+[D-BUS Service]
+Name=org.tizen.comms
+Exec=/bin/sh -c 'export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/dbus/user_bus_socket; exec /bin/bluetooth-service'
+User=app