fluent-package-builder icon indicating copy to clipboard operation
fluent-package-builder copied to clipboard

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

Open kenhys opened this issue 2 years ago • 2 comments

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 avatar Nov 28 '23 02:11 kenhys

Note.

  • #521

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 avatar Nov 28 '23 03:11 daipom

We can enable automatic service start as follows.

$ sc config fluentdwinsvc start=delayed-auto

Please be aware of

  • #602

daipom avatar Nov 28 '23 03:11 daipom