# File lib/chef/provider/service/systemd.rb, line 72 def stop_service unless @current_resource.running Chef::Log.debug("#{@new_resource} not running, not stopping") else if @new_resource.stop_command super else run_command_with_systems_locale(:command => "/bin/systemctl stop #{@new_resource.service_name}") end end end