diff options
Diffstat (limited to 'bin/chef-service-manager')
-rwxr-xr-x | bin/chef-service-manager | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/chef-service-manager b/bin/chef-service-manager index 43d9c8a933..9bdd244e1d 100755 --- a/bin/chef-service-manager +++ b/bin/chef-service-manager @@ -18,19 +18,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'rubygems' +require "rubygems" $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -require 'chef' -require 'chef/application/windows_service_manager' +require "chef" +require "chef/application/windows_service_manager" if Chef::Platform.windows? chef_client_service = { :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('../chef-windows-service', $PROGRAM_NAME), + :service_file_path => File.expand_path("../chef-windows-service", $PROGRAM_NAME), :delayed_start => true, - :dependencies => ['Winmgmt'], + :dependencies => ["Winmgmt"], } Chef::Application::WindowsServiceManager.new(chef_client_service).run else |