Fix wrong icinga2 binary in development docs

fixes #10710
This commit is contained in:
Michael Friedrich 2015-11-23 14:37:49 +01:00
parent d96ee6b417
commit c0dc4ec7d6
1 changed files with 3 additions and 2 deletions

View File

@ -116,10 +116,11 @@ the duplicate import in your `~/.gdbinit` file.
### <a id="development-debug-gdb-run"></a> GDB Run
Call GDB with the binary and all arguments and run it in foreground.
Call GDB with the binary (`/usr/sbin/icinga2` is a wrapper script calling
`/usr/lib64/icinga2/sbin/icinga2` since 2.4) and all arguments and run it in foreground.
If VFork causes trouble disable it inside the gdb run.
# gdb --args /usr/sbin/icinga2 daemon -x debug -DUseVfork=0
# gdb --args /usr/lib64/icinga2/sbin/icinga2 daemon -x debug -DUseVfork=0
> **Note**
>