summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-07-22 10:55:06 -0700
committerTim Smith <tsmith84@gmail.com>2020-01-16 12:20:19 -0800
commit6d171448349efe3081e3a11ee08023e9a7942c78 (patch)
treefaa315adda4c7c2e99bd38ff22c6bda3f928d745
parenta901f4536c362ba4fcc015c0d293c4d5df7ba6e5 (diff)
downloadchef-runit_service.tar.gz
Make sure we actually use the status command propertyrunit_service
This same change was in the cookbook 5.1.2 release Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/runit_service.rb2
1 files changed, 1 insertions, 1 deletions
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