def service(service_name, options={})
      options = {
          'print_command' => false,
          'failure_message' => "required service '#{service_name}' is not running."
      }.merge(string_keys(options))
      system_exit_on_error("ps ax | grep '#{service_name.gsub(/^(.)/, "[\\1]")}'", options)
    end
def service(service_name, options={})
      options = {
          'print_command' => false,
          'failure_message' => "required service '#{service_name}' is not running."
      }.merge(string_keys(options))
      system_exit_on_error("ps ax | grep '#{service_name.gsub(/^(.)/, "[\\1]")}'", options)
    end
Identify if a service is running on the system (uses ps). If it does not
 hard exit with a message to stdout.

 service_name - the name of the service to find in ps
 options - see system_exit_on_error

 return only if it finishes successfully