SET(RC_LOCAL_SCRIPT msg-server)
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/user)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/msg-service-log.service DESTINATION /usr/lib/systemd/user)
+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)
<filesystem path="/usr/lib/libmsg_transaction_proxy.so" label="_"/>
<filesystem path="/usr/lib/libmsg_utils.so" label="_"/>
<filesystem path="/usr/lib/libmsg_vobject.so" label="_"/>
- <filesystem path="/usr/lib/systemd/user/msg-service.service" label="_" exec_label="none" />
- <filesystem path="/usr/lib/systemd/user/tizen-middleware.target.wants/msg-service.service" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/system/msg-service.service" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/system/network.target.wants/msg-service.service" label="_" exec_label="none" />
</assign>
</manifest>
%make_install
-mkdir -p %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
+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/user/tizen-middleware.target.wants/msg-service.service
-ln -s ../msg-service-log.service %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service
+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/init.d/msg-server
%{_sysconfdir}/rc.d/rc3.d/S70msg-server
%{_sysconfdir}/rc.d/rc5.d/S70msg-server
-/usr/lib/systemd/user/msg-service.service
-/usr/lib/systemd/user/msg-service-log.service
-/usr/lib/systemd/user/tizen-middleware.target.wants/msg-service.service
-/usr/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service
+/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