summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/service/debian.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/debian.rb b/lib/chef/provider/service/debian.rb
index aae1631543..a8944163f6 100644
--- a/lib/chef/provider/service/debian.rb
+++ b/lib/chef/provider/service/debian.rb
@@ -48,7 +48,7 @@ class Chef
run_command(:command => "update-rc.d #{name} defaults")
end
- def disable_service
+ def disable_service(name)
run_command(:command => "update-rc.d -f #{name} remove")
run_command(:command => "update-rc.d #{name} stop 00 1 2 3 4 5 6 .")
end