diff options
author | Marc Chamberland <chamberland.marc@gmail.com> | 2019-11-05 12:38:30 -0500 |
---|---|---|
committer | Marc Chamberland <chamberland.marc@gmail.com> | 2019-12-05 08:47:17 -0500 |
commit | 1befa58bc9340040028aeee3f6368f0e014b9366 (patch) | |
tree | 3d140c7f19fe8979c054afd24a9949ffa761533a | |
parent | d9140babcbb5e1a1c7fa5c4a975fec026a8cbc27 (diff) | |
download | chef-1befa58bc9340040028aeee3f6368f0e014b9366.tar.gz |
Inserting distro constants into Windows Service description and name
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
-rwxr-xr-x | chef-bin/bin/chef-service-manager | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chef-bin/bin/chef-service-manager b/chef-bin/bin/chef-service-manager index 9021824fed..2cf0256528 100755 --- a/chef-bin/bin/chef-service-manager +++ b/chef-bin/bin/chef-service-manager @@ -24,9 +24,9 @@ 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_name: Chef::Dist::CLIENT, + service_display_name: "#{Chef::Dist::PRODUCT} Service", + service_description: "Runs #{Chef::Dist::PRODUCT} on regular, configurable intervals.", service_file_path: File.expand_path("../chef-windows-service", $PROGRAM_NAME), delayed_start: true, dependencies: ["Winmgmt"], |