Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hot-reloading: Add descriptions for Windows #1209

Merged
merged 4 commits into from
Oct 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions administration/hot-reload.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ For using curl to reload fluent-bit, users must specify an empty request body as
$ curl -X POST -d {} localhost:2020/api/v2/reload
```

For Windows, to represent empty body, users have to use `'{}'` as a body instead of raw `{}`:
cosmo0920 marked this conversation as resolved.
Show resolved Hide resolved

```text
PS> curl -X POST -d '{}' localhost:2020/api/v2/reload
```

### Via Signal

Hot reloading also can be kicked via `SIGHUP`.
Expand All @@ -47,5 +53,4 @@ Hot reloading also can be kicked via `SIGHUP`.

## Limitations

The hot reloading feature is currently working on Linux and macOS. Windows is not supported yet.

The hot reloading feature is currently working on Linux, macOS and Windows.