core: Apply systemd-based dbus activation 48/210148/3
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 15 Jul 2019 06:13:35 +0000 (15:13 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 16 Jul 2019 08:12:10 +0000 (17:12 +0900)
commitda1dc2ab2a66d71ed322462bb0b1eda1d5bf7011
tree8ffd727e0d36b4e06e02d78f162bf2fe2853b426
parentbd545612614a88b0f4edfdaea3750c3fdd5811af
core: Apply systemd-based dbus activation

To activate PASS service immediately when other service requests the
dbus methods of it, this patch applies systemd-based dbus
activation. In addition, to announce PASS startup completion to
systemd, this patch adds notification through 'sd_notify()' call.
Without it, systemd will block PASS activation.

Change-Id: I4bfd6fce55d83aee646405af7bafbc650cb177e5
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
CMakeLists.txt
packaging/pass.spec
src/core/main.c
systemd/org.tizen.system.pass.service [new file with mode: 0644]
systemd/pass.service