Change-Id: I022eea1b76d27eae469fd6e4e77f40112d0e66eb
Signed-off-by: youngman <yman.jung@samsung.com>
)
INSTALL(TARGETS ${DAEMON} DESTINATION ${BIN_INSTALL_DIR})
-
-SET(DBUS_SERVICE_FILE "org.tizen.${PROJECT_NAME}.dbus")
-CONFIGURE_FILE(${DBUS_SERVICE_FILE}.service.in ${DBUS_SERVICE_FILE}.service @ONLY)
-INSTALL(FILES ${DBUS_SERVICE_FILE}.service DESTINATION ${SHARE_INSTALL_PREFIX}/dbus-1/services)
+++ /dev/null
-[D-BUS Service]
-Name=@DBUS_INTERFACE@
-Exec=@BIN_INSTALL_DIR@/@DAEMON@
\ No newline at end of file
[Unit]
Description=Tizen IoT Connectivity
-After=system-server.service
-Requires=system-server.service
[Service]
Type=simple
ExecStart=/usr/bin/iotcon-daemon
-KillSignal=SIGKILL
+Restart=always
[Install]
WantedBy=multi-user.target
%{_unitdir}/%{name}.service
%{_unitdir}/multi-user.target.wants/%{name}.service
%{_bindir}/%{name}-daemon
-%{_datadir}/dbus-1/services/org.tizen.%{name}.dbus.service
%if 0%{?tizen_version_major} < 3
%{_datadir}/license/%{name}
%else