Maintained by: NLnet Labs

[Unbound-users] Feature request: foreground mode

W.C.A. Wijngaards
Wed Feb 20 08:25:49 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Now there is also
	do-daemonize: <yes or no>
for in the config file.

Best regards,
~   Wouter

W.C.A. Wijngaards wrote:
| Hi Anand,
|
| With the -d option, unbound does not detach from the terminal.
| You can quit it with ^C for example.
|
| -d is called 'debug_mode' in the source at that point, which could be
| why you missed it. The option has no other effects.
|
| Is this the functionality you are looking for?
|
| Best regards,
| ~   Wouter
|
| Anand Buddhdev wrote:
| | Hello unbound developers,
| |
| | I like to run daemons using the supervise tool from the daemontools
| | package. This needs the daemon to run in the foreground (ie. not detach
| | from the controlling terminal). Could you please add this feature to
| | unbound (with a -f command-line option to enable it, for example).
| |
| | I can see that the code already has the facility to run unbound in the
| | foreground, if the configuration parameter "do_daemonize" is set to
| | zero, but there's no code to actually read this variable from the config
| | file or from a command-line switch. If you could enable this for the
| | next release of unbound (or provide a diff against 0.9) I'd be grateful.
| |
| | Regards,
| |
| | Anand Buddhdev
| | DNS Services Manager
| | RIPE NCC
| | _______________________________________________
| | Unbound-users mailing list
| | Unbound-users at unbound.net
| | http://unbound.net/mailman/listinfo/unbound-users
|
_______________________________________________
Unbound-users mailing list
Unbound-users at unbound.net
http://unbound.net/mailman/listinfo/unbound-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHu9X8kDLqNwOhpPgRAkHUAJ43ubbQeSekWAmaxWUkwuQiB4NCAQCgmwjD
SWxn1S5QZ/V3lhNGsLggYEg=
=fztG
-----END PGP SIGNATURE-----