add systemd integration
authorAlexander Bokovoy <ab@samba.org>
Tue, 25 Mar 2014 10:53:04 +0000 (12:53 +0200)
committerAlexander Bokovoy <ab@samba.org>
Wed, 26 Mar 2014 10:05:22 +0000 (12:05 +0200)
commit7e32cc17dd2dcce3b5bccc0994a0553698cc5547
tree8e17ff68216f30277d1292a713329f34ab692e43
parent3d5b80f26ae65ce43ea25dd94274ec865f1c4026
add systemd integration

Add --with-systemd / --without-systemd options to check whether
libsystemd-daemon library is available and use it to report service
startup status to systemd for smbd/winbindd/nmbd and AD DC.

The problem it solves is correct reporting of the Samba services
at the point when they are ready to serve clients, important for
high availability software integration.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
12 files changed:
lib/util/become_daemon.c
lib/util/samba_util.h
lib/util/wscript_build
packaging/systemd/nmb.service
packaging/systemd/smb.service
packaging/systemd/winbind.service
source3/nmbd/nmbd.c
source3/smbd/server.c
source3/winbindd/winbindd.c
source4/smbd/server.c
wscript
wscript_configure_systemd [new file with mode: 0644]