forked from e621ng/e621ng

pitchfork is a unicorn fork with some things removed and some things added. We don't need any of these things so it should be an easy replace. There is no worker-killer for pitchfork, it is however trivial to implement ourselves. unicorn is pretty much dead. The author implies as much in the various readme updates he made. It also doesn't work with rack 3 and I doubt a new release will even be made. If it will, it highly likely won't be on rubygems.
9 lines
191 B
Ruby
9 lines
191 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This file is used by Rack-based servers to start the application.
|
|
|
|
require_relative "config/environment"
|
|
|
|
run Rails.application
|
|
Rails.application.load_server
|