Skip to content

Commit

Permalink
windows: add silent and other CLI info (fluent#683)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
  • Loading branch information
patrick-stephens authored Jan 26, 2022
1 parent 669d801 commit e88fdf4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,19 @@ Click Next and proceed. By default, Fluent Bit is installed into `C:\Program Fil
PS> C:\Program Files\td-agent-bit\bin\fluent-bit.exe -i dummy -o stdout
```

### Installer options

The Windows installer is built by [`CPack` using NSIS(https://cmake.org/cmake/help/latest/cpack_gen/nsis.html) and so supports the [default options](https://nsis.sourceforge.io/Docs/Chapter3.html#3.2.1) that all NSIS installers do for silent installation and the directory to install to.

To silently install to `C:\fluent-bit` directory here is an example:

```
PS> <installer exe> /S /D=C:\fluent-bit
```

The uninstaller automatically provided also supports a silent un-install using the same `/S` flag.
This may be useful for provisioning with automation like Ansible, Puppet, etc.

## Windows Service Support

Windows services are equivalent to "daemons" in UNIX (i.e. long-running background processes). Since v1.5.0, Fluent Bit has the native support for Windows Service.
Expand Down

0 comments on commit e88fdf4

Please sign in to comment.