summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-07-22 15:17:58 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-07-24 15:12:08 -0400
commitca8a8bdb000c7cb82588cc56ddfb32464babf3c3 (patch)
tree4a799a0dc2bcd0285dc37c69541b0445e07a69f2 /bin
parent283301d40e6449f9d513d18afacdb6ca360898d9 (diff)
downloadchef-ca8a8bdb000c7cb82588cc56ddfb32464babf3c3.tar.gz
Add ability to specify dependencies in chef-service-manager.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-service-manager4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chef-service-manager b/bin/chef-service-manager
index bbcab5ca92..7c031f70d4 100755
--- a/bin/chef-service-manager
+++ b/bin/chef-service-manager
@@ -29,10 +29,10 @@ if Chef::Platform.windows?
: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')),
- :delayed_start => true
+ :delayed_start => true,
+ :dependencies => ['Winmgmt']
}
Chef::Application::WindowsServiceManager.new(chef_client_service).run
else
puts "chef-service-manager is only available on Windows platforms."
end
-