docs/syslogd: Update syslogd docs to reflect implementation
The documentation for `syslogd` is now updated to reflect its use of `posix_spawn` to run the daemon in the background. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
parent
54b7bf6e36
commit
3b6648c742
1 changed files with 4 additions and 4 deletions
|
|
@ -27,9 +27,9 @@ not receive or forward logs.
|
|||
|
||||
.. warning::
|
||||
|
||||
The daemon is currently runs itself in the background using ``fork()``. On
|
||||
architectures where ``fork()`` is not implemented, the daemon must be
|
||||
"backgrounded" by using the trailing ``&`` in NSH at the moment. It is also
|
||||
possible to us ``posix_spawn()`` from a parent program.
|
||||
The daemon runs itself in the background using ``posix_spawn()`` due to
|
||||
limitations with the NuttX implementation of ``fork()`` being architecture
|
||||
dependent. This results in more consistent behaviour, but requires
|
||||
``CONFIG_LIBC_EXECFUNCS`` to be enabled.
|
||||
|
||||
Read more about ``syslog`` on NuttX: :doc:`/components/drivers/special/syslog`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue