Change-Id: Ifeb475d28740839f842a60a294d1df64b8115a11
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/systemd/ DESTINATION lib/systemd/system
FILES_MATCHING
PATTERN "feedbackd.service")
-
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/systemd/org.tizen.system.vibrator.service DESTINATION /usr/share/dbus-1/system-services)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/haptic/conf/haptic-level3.conf DESTINATION /etc/feedbackd)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/haptic/conf/haptic-level6.conf DESTINATION /etc/feedbackd)
%config %{_sysconfdir}/dbus-1/system.d/feedbackd.conf
%{_unitdir}/feedbackd.service
%{_unitdir}/multi-user.target.wants/feedbackd.service
+%{_datadir}/dbus-1/system-services/org.tizen.system.vibrator.service
%files driver-external
%license LICENSE.Apache-2.0
--- /dev/null
+[D-BUS Service]
+Name=org.tizen.system.vibrator
+Exec=/bin/false
+User=system_fw
+SystemdService=feedbackd.service