Add systemd state checking logic 93/203293/1
authorYunmi Ha <yunmi.ha@samsung.com>
Thu, 11 Apr 2019 08:46:41 +0000 (17:46 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Thu, 11 Apr 2019 08:46:41 +0000 (17:46 +0900)
commit2503bb12bbd747e08daca46a596eefca8b3ab1fa
treed52962bcdea5e1fb81dfdc0ccb1efde377e17446
parent8490f69eb3ff61533a6375629ed4fa4053a101ee
Add systemd state checking logic

If system session is already running,
storaged can't receive StartupFinished signal.
In that case, add logic to check the systemd state at startup.

Change-Id: Ied8af322c1e8d4e5e34ea84f2e1c8f968c56a733
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
src/block/block.c
src/storage/storage.c