util: Add become_daemon.h
authorMartin Schwenke <martin@meltin.net>
Tue, 15 Aug 2017 01:12:35 +0000 (11:12 +1000)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 17 Aug 2017 06:00:23 +0000 (08:00 +0200)
commit298af748ac09963f0bcacdba200ee43e081bbaa8
treeabfd609eadeb25db0b905e35aff696ad4e40d899
parent2b982fc309c6c09e5f451075f135a3478be5eabf
util: Add become_daemon.h

Rename argument no_process_group to no_session to describe what it
actually does.  Consistently use "daemon" for name of daemon argument.
Add documentation.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/util/become_daemon.c
lib/util/become_daemon.h [new file with mode: 0644]
lib/util/samba_util.h