From: Stephen Gran Date: Tue, 25 Dec 2007 15:11:05 +0000 (+0000) Subject: When not in inetd mode, detach from controlling terminal and daemonize X-Git-Tag: userdir-ldap-0.3.16~20^2~5 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=d30df594d92c8a503be5bdc7e9f9b1d18226f726 When not in inetd mode, detach from controlling terminal and daemonize properly. This involves adding a -l (logfile) option to the command line arguments, so that output will be captured somewhere. Also add a -f (foreground) option, to preserve the previous default behavior. --- d30df594d92c8a503be5bdc7e9f9b1d18226f726