From c672cb912466c2b61752a2dfedbbd11713c0eade Mon Sep 17 00:00:00 2001 From: Hampus Reis <8151688+sier@users.noreply.github.com> Date: Sat, 19 Apr 2025 09:54:14 +0700 Subject: [PATCH 1/2] Updated Windows PowerShell service creation to support C:\Program Files Signed-off-by: Hampus Reis <8151688+sier@users.noreply.github.com> --- installation/windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/windows.md b/installation/windows.md index 60f66a396..e8fae20c6 100644 --- a/installation/windows.md +++ b/installation/windows.md @@ -272,7 +272,7 @@ Instead of `sc.exe`, PowerShell can be used to manage Windows services. Create a Fluent Bit service: ```text -PS> New-Service fluent-bit -BinaryPathName "C:\fluent-bit\bin\fluent-bit.exe -c C:\fluent-bit\conf\fluent-bit.conf" -StartupType Automatic +PS> New-Service fluent-bit -BinaryPathName "`"C:\Program Files\fluent-bit\bin\fluent-bit.exe`" -c `"C:\Program Files\fluent-bit\conf\fluent-bit.conf`"" -StartupType Automatic ``` Start the service: From ffad892f3f50fc854a8a03ff999b009c88e7f3ca Mon Sep 17 00:00:00 2001 From: Hampus Reis <8151688+sier@users.noreply.github.com> Date: Sat, 19 Apr 2025 09:54:41 +0700 Subject: [PATCH 2/2] Add description to Service creation via PowerShell Signed-off-by: Hampus Reis <8151688+sier@users.noreply.github.com> --- installation/windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/windows.md b/installation/windows.md index e8fae20c6..a46224bc2 100644 --- a/installation/windows.md +++ b/installation/windows.md @@ -272,7 +272,7 @@ Instead of `sc.exe`, PowerShell can be used to manage Windows services. Create a Fluent Bit service: ```text -PS> New-Service fluent-bit -BinaryPathName "`"C:\Program Files\fluent-bit\bin\fluent-bit.exe`" -c `"C:\Program Files\fluent-bit\conf\fluent-bit.conf`"" -StartupType Automatic +PS> New-Service fluent-bit -BinaryPathName "`"C:\Program Files\fluent-bit\bin\fluent-bit.exe`" -c `"C:\Program Files\fluent-bit\conf\fluent-bit.conf`"" -StartupType Automatic -Description "This service runs Fluent Bit, a log collector that enables real-time processing and delivery of log data to centralized logging systems." ``` Start the service: