Skip to content

Commit

Permalink
pipe source: create-dir() workaround (syslog-ng#118)
Browse files Browse the repository at this point in the history
Added note about possible failure and workaround for pipe sources.
  • Loading branch information
zsoltgyulai94 authored Aug 22, 2024
2 parents b0a1cb0 + f2fdfbe commit 718f57f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _includes/doc/admin-guide/options/create-dirs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@

*Description:* Enable creating non-existing directories when creating
files or socket files.

**NOTE:** If syslog-ng cannot create the pipe, it aborts and produces an error. This could be caused by the lack of a write permission, or missing directory. The latter of the two can be fixed by using the `create-dirs(yes)` option.
{: .notice--info}
3 changes: 3 additions & 0 deletions doc/_admin-guide/060_Sources/110_Pipe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ The pipe driver has a single required parameter, specifying the filename
of the pipe to open. For the list of available optional parameters, see
pipe() source options.

**NOTE:** If syslog-ng cannot create the pipe, it aborts and produces an error. This could be caused by the lack of a write permission, or missing directory. The latter of the two can be fixed by using the `create-dirs(yes)` option.
{: .notice--info}

**Declaration**

```config
Expand Down

0 comments on commit 718f57f

Please sign in to comment.