summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-07-14 11:02:43 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-07-20 12:23:42 -0400
commitde5fd05da851af01e960266feda9ce74b03e9bc6 (patch)
tree2e93ef26f4b1148205b674a9fae2ea6f7c101c6f /bin
parent0b0dd4040bc8ca485b90b58a65884645b389c8e5 (diff)
downloadchef-de5fd05da851af01e960266feda9ce74b03e9bc6.tar.gz
Add flag to windows_service_manager to delay start.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-service-manager3
1 files changed, 2 insertions, 1 deletions
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