core: Use mainloop_sd_notify instead of sd_notify
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 26 Nov 2018 15:48:50 +0000 (17:48 +0200)
committerhimanshu <h.himanshu@samsung.com>
Tue, 21 Jan 2020 14:38:29 +0000 (20:08 +0530)
commit236216d4989b9e4e94a53b357ea1a38300be6a44
treee0757c607b925ba12dc9403f60bffd01e967b5ed
parent6bda3e1c5706b167157bec40fdce0efc558d466d
core: Use mainloop_sd_notify instead of sd_notify

mainloop_sd_notify takes care of sending the messages to NOTIFY_SOCKET
and includes the handling of WATCHDOG_USEC as well.

Change-Id: Ibaf2e3af9cd0d492cd10576f671e16d54dcca287
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/main.c