From de5fd05da851af01e960266feda9ce74b03e9bc6 Mon Sep 17 00:00:00 2001 From: Kartik Null Cating-Subramanian Date: Tue, 14 Jul 2015 11:02:43 -0400 Subject: Add flag to windows_service_manager to delay start. --- bin/chef-service-manager | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/chef-service-manager b/bin/chef-service-manager index 7cef10f506..bbcab5ca92 100755 --- a/bin/chef-service-manager +++ b/bin/chef-service-manager @@ -28,7 +28,8 @@ if Chef::Platform.windows? :service_name => "chef-client", :service_display_name => "Chef Client Service", :service_description => "Runs Chef Client on regular, configurable intervals.", - :service_file_path => File.expand_path(File.join(File.dirname(__FILE__), '../../../../bin/chef-windows-service')) + :service_file_path => File.expand_path(File.join(File.dirname(__FILE__), '../../../../bin/chef-windows-service')), + :delayed_start => true } Chef::Application::WindowsServiceManager.new(chef_client_service).run else -- cgit v1.2.1