From 6d171448349efe3081e3a11ee08023e9a7942c78 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Mon, 22 Jul 2019 10:55:06 -0700 Subject: Make sure we actually use the status command property This same change was in the cookbook 5.1.2 release Signed-off-by: Tim Smith --- lib/chef/resource/runit_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/resource/runit_service.rb b/lib/chef/resource/runit_service.rb index 9080df61a8..8290d9f030 100644 --- a/lib/chef/resource/runit_service.rb +++ b/lib/chef/resource/runit_service.rb @@ -191,7 +191,7 @@ class Chef start_command "#{new_resource.sv_bin} start #{service_dir_name}" stop_command "#{new_resource.sv_bin} stop #{service_dir_name}" restart_command "#{new_resource.sv_bin} restart #{service_dir_name}" - status_command "#{new_resource.sv_bin} status #{service_dir_name}" + status_command new_resource.status_command action :nothing end end -- cgit v1.2.1