wrt-security - add systemd support
authorJacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Tue, 18 Jun 2013 14:28:25 +0000 (16:28 +0200)
committerJacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Tue, 18 Jun 2013 14:31:59 +0000 (16:31 +0200)
commitded007c3662ccaa9010c909a8f67874c1d77bb69
tree677c522fa82253d445d1880ade3369b6a9062f07
parent9b82de5eeb371f86064ea8a2496adb220fb231cb
wrt-security - add systemd support

The folling changes has been implemented.
  1. systemd socket activation. Update in void SecuritySocketService::initialize()
     and SecuritySocketService::mainLoop() methods to get scoket created by systemd.
  2. enable sd_notify() to be called after the service startup.

Change-Id: I8e5816572be9759fb07c3875a1dc0346b2fdacaf
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
CMakeLists.txt
packaging/wrt-security.manifest
packaging/wrt-security.spec
src/CMakeLists.txt
src/daemon/sockets/security_socket_service.cpp
src/daemon/sockets/security_socket_service.h
src/main.cpp
systemd/wrt-security-daemon.service [moved from packaging/wrt-security-daemon.service with 91% similarity]
systemd/wrt-security-daemon.socket [new file with mode: 0644]