Maintained by: NLnet Labs

[Unbound-users] Feature request: foreground mode

W.C.A. Wijngaards
Wed Feb 20 07:57:16 CET 2008


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

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

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

iD8DBQFHu89MkDLqNwOhpPgRAtK9AKCSEOh7kIbZZgAsXJAbtsu4mQeXggCcCFu0
GZPr3iKsTjHncsLaflKTgyk=
=BWjG
-----END PGP SIGNATURE-----