From df4af79c784fa3dbc14c8ca2eefc51c78a22e26b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 3 Jan 2003 17:32:11 +0000 Subject: patch to include support for daemontools from Michael Handler (This used to be commit 4c48c475a28450ad4fd8dcc8263e841c0c39a80e) --- docs/docbook/manpages/nmbd.8.sgml | 29 +++++++++++++++++++++++++++-- docs/docbook/manpages/smbd.8.sgml | 28 +++++++++++++++++++++++++++- docs/docbook/manpages/winbindd.8.sgml | 29 ++++++++++++++++++++++++++++- 3 files changed, 82 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/docbook/manpages/nmbd.8.sgml b/docs/docbook/manpages/nmbd.8.sgml index b8986110a6..db920c79a1 100644 --- a/docs/docbook/manpages/nmbd.8.sgml +++ b/docs/docbook/manpages/nmbd.8.sgml @@ -17,6 +17,8 @@ nmbd -D + -F + -S -a -i -o @@ -86,6 +88,28 @@ + + -F + If specified, this parameter causes + the main nmbd process to not daemonize, + i.e. double-fork and disassociate with the terminal. + Child processes are still created as normal to service + each connection request, but the main process does not + exit. This operation mode is suitable for running + nmbd under process supervisors such + as supervise and svscan + from Daniel J. Bernstein's daemontools + package, or the AIX process monitor. + + + + + -S + If specified, this parameter causes + nmbd to log to standard output rather + than a file. + + -a If this parameter is specified, each new @@ -99,8 +123,9 @@ server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this parameter negates the implicit daemon mode when run from the - command line. - + command line. nmbd also logs to standard + output, as if the -S parameter had been + given. diff --git a/docs/docbook/manpages/smbd.8.sgml b/docs/docbook/manpages/smbd.8.sgml index 4ae8b3148b..6dfb0f5746 100644 --- a/docs/docbook/manpages/smbd.8.sgml +++ b/docs/docbook/manpages/smbd.8.sgml @@ -16,6 +16,8 @@ smbd -D + -F + -S -i -h -V @@ -86,13 +88,37 @@ + + -F + If specified, this parameter causes + the main smbd process to not daemonize, + i.e. double-fork and disassociate with the terminal. + Child processes are still created as normal to service + each connection request, but the main process does not + exit. This operation mode is suitable for running + smbd under process supervisors such + as supervise and svscan + from Daniel J. Bernstein's daemontools + package, or the AIX process monitor. + + + + + -S + If specified, this parameter causes + smbd to log to standard output rather + than a file. + + -i If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this parameter negates the implicit deamon mode when run from the - command line. + command line. smbd also logs to standard + output, as if the -S parameter had been + given. diff --git a/docs/docbook/manpages/winbindd.8.sgml b/docs/docbook/manpages/winbindd.8.sgml index 848f6ed3fa..ccef2fa623 100644 --- a/docs/docbook/manpages/winbindd.8.sgml +++ b/docs/docbook/manpages/winbindd.8.sgml @@ -16,6 +16,8 @@ winbindd + -F + -S -i -B -d <debug level> @@ -105,6 +107,28 @@ group: files winbind OPTIONS + + -F + If specified, this parameter causes + the main winbindd process to not daemonize, + i.e. double-fork and disassociate with the terminal. + Child processes are still created as normal to service + each connection request, but the main process does not + exit. This operation mode is suitable for running + winbindd under process supervisors such + as supervise and svscan + from Daniel J. Bernstein's daemontools + package, or the AIX process monitor. + + + + + -S + If specified, this parameter causes + winbindd to log to standard output rather + than a file. + + -d debuglevel Sets the debuglevel to an integer between @@ -118,7 +142,10 @@ group: files winbind Tells winbindd to not become a daemon and detach from the current terminal. This option is used by developers when interactive debugging - of winbindd is required. + of winbindd is required. + winbindd also logs to standard output, + as if the -S parameter had been given. + -- cgit