forked from e621ng/e621ng
force Rails to listen on localhost only and disable the cron process
the cron process will only work on Linux systems so it has to be disabled. better this way anyways since I prefer to use the native cron system.
This commit is contained in:
parent
3d627b9d04
commit
8fb9c0bd7f
4
Procfile
4
Procfile
@ -1,4 +1,4 @@
|
|||||||
server: bin/rails server -p 9000 -b 0.0.0.0 --pid=/tmp/rails-server.pid
|
server: ./bin/rails server -p 9000 -b 127.0.0.1 --pid=/tmp/rails-server.pid
|
||||||
# server: PITCHFORK_LISTEN_ADDRESS=0.0.0.0:9000 PITCHFORK_WORKER_COUNT=2 bundle exec pitchfork -c config/pitchfork.rb
|
# server: PITCHFORK_LISTEN_ADDRESS=0.0.0.0:9000 PITCHFORK_WORKER_COUNT=2 bundle exec pitchfork -c config/pitchfork.rb
|
||||||
jobs: SIDEKIQ_QUEUES="low_prio:1;video:1;iqdb:1;tags:2;default:3;high_prio:5" bundle exec sidekiq
|
jobs: SIDEKIQ_QUEUES="low_prio:1;video:1;iqdb:1;tags:2;default:3;high_prio:5" bundle exec sidekiq
|
||||||
cron: run-parts /etc/periodic/daily && crond -f
|
# cron: run-parts /etc/periodic/daily && crond -f
|
||||||
|
Loading…
Reference in New Issue
Block a user