INSTALL(PROGRAMS ${RC_LOCAL_SCRIPT} DESTINATION /etc/rc.d/init.d)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/msg-service.service DESTINATION /usr/lib/systemd/system)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/msg-service-log.service DESTINATION /usr/lib/systemd/system)
# LICENSE file
INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE.Flora DESTINATION /usr/share/license/msg-service)
#!/bin/sh
## A script for running msg-server in booting time.
-if [ ! -e /opt/etc/.hib_capturing ]; then
+# log
+#dlogutil -v threadtime -f /var/log/msgfw/msgfw.log -r 1000 -n 10 MSG_SERVICE &
+
+# msg-server
/usr/bin/msg-server &
-fi
+++ /dev/null
-
-[Unit]
-Description=Start the msg-server dlog
-
-[Service]
-ExecStart=/usr/bin/dlogutil -v threadtime -f /var/log/msgfw/msgfw.log -r 1000 -n 10 MSG_SERVICE
-
-[Install]
-WantedBy=tizen-middleware.target
\ No newline at end of file
%make_install
mkdir -p %{buildroot}/usr/lib/systemd/system/network.target.wants
-#install -m 0644 %SOURCE101 %{buildroot}/usr/lib/systemd/user/
ln -s ../msg-service.service %{buildroot}/usr/lib/systemd/system/network.target.wants/msg-service.service
-ln -s ../msg-service-log.service %{buildroot}/usr/lib/systemd/system/network.target.wants/msg-service-log.service
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
ln -s %{_sysconfdir}/rc.d/init.d/msg-server %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S70msg-server
%{_sysconfdir}/rc.d/rc3.d/S70msg-server
%{_sysconfdir}/rc.d/rc5.d/S70msg-server
/usr/lib/systemd/system/msg-service.service
-/usr/lib/systemd/system/msg-service-log.service
/usr/lib/systemd/system/network.target.wants/msg-service.service
-/usr/lib/systemd/system/network.target.wants/msg-service-log.service
/usr/share/license/msg-service/LICENSE.Flora
/opt/etc/smack/accesses.d/msg-service.rule
/etc/config/sysinfo-message.xml