Add option to choice whether it enables to start fluentd service or not
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
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:
- Fluentd should not automatically start with the default setting after installation.
- Because the environmental variables are not reflected during the installation process, the service starts without those variables being applied if the default setting is
Automatic.- #155
- Automatic start makes the migration process of the installer unstable.
- #494
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.
We can enable automatic service start as follows.
$ sc config fluentdwinsvc start=delayed-auto
Please be aware of
- #602