fluent / fluent-package-builder

td-agent (Fluentd) Building and Packaging System
Apache License 2.0
22 stars 23 forks source link

Keep fluentdwinsvc commandline option during upgrading #602

Open kenhys opened 7 months ago

kenhys commented 7 months ago

Problem

When upgrading fluent-package on windows, fluentdwinsvc configuration is always reset to factory default.

Expected

If user was configured fluentdwinsvc configuration, it is better to keep it.

daipom commented 7 months ago

Note

Related to this, when we enable automatic service start, it is disabled again after updating.

Example(Fluent Package Command Prompt with administrative privilege):

$ sc config fluentdwinsvc start=delayed-auto