initial commit from appmail
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
||||
|
||||
$stdout.sync = true
|
||||
$stderr.sync = true
|
||||
|
||||
require 'bundler/setup' # Set up gems listed in the Gemfile.
|
||||
|
||||
require_relative '../lib/postal/config'
|
||||
Postal.check_config!
|
||||
|
||||
ENV['DATABASE_URL'] = Postal.database_url
|
||||
ENV['RAILS_ENV'] = Postal.config.rails&.environment || 'development'
|
||||
if ENV['PROC_NAME']
|
||||
$0="[postal] #{ENV['PROC_NAME']}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user