Sha256: 59182ca97235b97fea83c84db896b2cc9115bf3ee22e91f49b01a3e91f53b187

Contents?: true

Size: 468 Bytes

Versions: 6

Compression:

Stored size: 468 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 Exception => exc
  return if exc.class == SystemExit
  # Failsafe logger that writes to STDERR
  SemanticLogger.add_appender(io: STDERR, level: :error, formatter: :color)
  SemanticLogger['RocketJob'].error('Rocket Job shutting down due to exception', exc)
  SemanticLogger.flush
  exit 1
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rocketjob-4.3.0.beta2 bin/rocketjob
rocketjob-4.3.0.beta bin/rocketjob
rocketjob-4.2.0 bin/rocketjob
rocketjob-4.1.1 bin/rocketjob
rocketjob-4.1.0 bin/rocketjob
rocketjob-4.0.0 bin/rocketjob