Sha256: 74a827ab4ef13a69b3ed0a7d52b4a31a5586052f35e90b4f29067b26329529fc

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

#!/usr/bin/env ruby

require 'semantic_logger'
require 'rocket_job/cli'

# Start a rocketjob server instance from the command line
begin
  RocketJob::CLI.new(ARGV).run
rescue => exc
  # Failsafe logger that writes to STDERR
  SemanticLogger.add_appender(STDERR, :error, &SemanticLogger::Appender::Base.colorized_formatter)
  SemanticLogger['RocketJob'].error('Rocket Job shutting down due to exception', exc)
  SemanticLogger.flush
  exit 1
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocketjob-2.0.0.rc3 bin/rocketjob
rocketjob-2.0.0.rc2 bin/rocketjob
rocketjob-2.0.0.rc1 bin/rocketjob