    # File lib/chef/provider/service/systemd.rb, line 50
      def define_resource_requirements
        shared_resource_requirements
        requirements.assert(:all_actions) do |a|
          a.assertion { @status_check_success }
          # We won't stop in any case, but in whyrun warn and tell what we're doing.
          a.whyrun ["Failed to determine status of #{@new_resource}, using command #{@new_resource.status_command}.",
            "Assuming service would have been installed and is disabled"]
        end
      end