uterm: monitor: put systemd-layer into separate file
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 29 Oct 2012 17:09:35 +0000 (18:09 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 29 Oct 2012 17:09:35 +0000 (18:09 +0100)
commit22e73357ff5dacb6ec594b95ffe2c426df74a6e8
treead7444a3b405495d925c8e73083b487a8dfac53d
parentc827720f48239707761c6d84094230b21b213ae9
uterm: monitor: put systemd-layer into separate file

This moves all systemd code into uterm_systemd.[ch]. This removes all the
ugly #ifdef's.

Furthermore, this fixes some hidden bugs in the previous implementation
and makes use of sd_booted() to see whether runtime systemd is really
available.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Makefile.am
configure.ac
src/uterm_monitor.c
src/uterm_systemd.c [new file with mode: 0644]
src/uterm_systemd.h [new file with mode: 0644]