From 3d6fa4315662142a07fa36c5851d8a2b0dcfa765 Mon Sep 17 00:00:00 2001 From: Vladislav Radin Date: Thu, 5 Sep 2024 12:41:15 +0300 Subject: [PATCH] add autprestart win service --- cmd/telegraf/telegraf_windows.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/telegraf/telegraf_windows.go b/cmd/telegraf/telegraf_windows.go index ea5a4db477bf7..abe178589986c 100644 --- a/cmd/telegraf/telegraf_windows.go +++ b/cmd/telegraf/telegraf_windows.go @@ -219,7 +219,6 @@ func installService(name string, cfg *serviceConfig) error { if cfg.restartDelay != "" { args = append(args, "--service-restart-delay", cfg.restartDelay) } - // colixxxx: end // Pass the service name to the command line, to have a custom name when relaunching as a service