Bug: capistrano didn't update the crontab during deployment. As a result
the crontab still referenced an old deployment. Eventually that
deployment was deleted and cronjobs started silently failing.
Broken in 223e5f1e8. Turns out that `whenever` defaults to running on
servers with the `db` role. Removing kagamihara from the db role meant
that whenever was no longer configured to run anywhere.
12 lines
362 B
Ruby
12 lines
362 B
Ruby
set :user, "danbooru"
|
|
set :rails_env, "production"
|
|
append :linked_files, ".env.production"
|
|
|
|
server "kagamihara", :roles => %w(web app cron), :primary => true
|
|
server "shima", :roles => %w(web app)
|
|
server "saitou", :roles => %w(web app)
|
|
server "oogaki", :roles => %w(worker)
|
|
|
|
set :newrelic_appname, "Danbooru"
|
|
after "deploy:finished", "newrelic:notice_deployment"
|