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

Add option to choice whether it enables to start fluentd service or not #601

Open
kenhys opened this issue Nov 28, 2023 · 2 comments
Open
Labels
enhancement New feature or request Windows

Comments

@kenhys
Copy link
Contributor

kenhys commented Nov 28, 2023

Problem

Current version does not automatically start fluentd service.

Expected

user can select whether fluentd service should start automatically.

Additional Information

Add option to check whether fluentd service start or not.

It may be better to refer configuration via property.

https://stackoverflow.com/questions/2365197/wix-how-can-i-set-a-property-externally

@kenhys kenhys added enhancement New feature or request Windows labels Nov 28, 2023
@daipom
Copy link
Contributor

daipom commented Nov 28, 2023

Note.

We changed the default setting of ServiceStartMode to Manual from Automatic on v5.0.0.
The main purpose is to avoid the automatic start after installation.

The reason why we want to avoid automatic start after installation:

As a result, Fluentd on Windows no longer automatically starts after a system reboot.
This is undesirable.
So, we need to figure out how to do this well without causing those previous issues again.

@daipom
Copy link
Contributor

daipom commented Nov 28, 2023

We can enable automatic service start as follows.

$ sc config fluentdwinsvc start=delayed-auto

Please be aware of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Windows
Projects
None yet
Development

No branches or pull requests

2 participants