Module: Homebrew::Services::Commands::Stop Private

Defined in:
services/commands/stop.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Constant Summary collapse

TRIGGERS =

This constant is part of a private API. This constant may only be used in the Homebrew/brew repository. Third parties should avoid using this constant if possible, as it may be removed or changed without warning.

%w[stop unload terminate term t u].freeze

Class Method Summary collapse

Class Method Details

.run(targets, verbose:, no_wait:, max_wait:, keep:) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.

Parameters:



21
22
23
24
# File 'services/commands/stop.rb', line 21

def self.run(targets, verbose:, no_wait:, max_wait:, keep:)
  Services::Cli.check(targets)
  Services::Cli.stop(targets, verbose:, no_wait:, max_wait:, keep:)
end