rails foreman does not load all my services on start
Posted
by
Rubytastic
on Stack Overflow
See other posts from Stack Overflow
or by Rubytastic
Published on 2012-05-30T22:21:47Z
Indexed on
2012/06/02
10:40 UTC
Read the original article
Hit count: 500
Rails foreman does not load all my services defined in Procfile.
Procfile.rb:
redis: redis-server
resque: bundle exec rake resque:start &&> log/resque_worker_queue.log
privpub: bundle exec rackup private_pub.ru -s thin -E production & &> log/private_pub.log
sunspot: bundle exec rake sunspot:solr:run
I always have to manually start all of them by copy paste the commands in terminal foreman start does not work, what am i missing?
This is foreman output:
12:35:40 privpub.1 | process terminated
12:35:40 system | sending SIGTERM to all processes
12:35:40 system | sending SIGTERM to pid 4375
12:35:40 redis.1 | [4375] 02 Jun 12:35:40 # Received SIGTERM, scheduling shutdown...
12:35:40 redis.1 | [4375] 02 Jun 12:35:40 # User requested shutdown...
12:35:40 redis.1 | [4375] 02 Jun 12:35:40 * Saving the final RDB snapshot before exiting.
12:35:40 redis.1 | [4375] 02 Jun 12:35:40 * DB saved on disk
12:35:40 redis.1 | [4375] 02 Jun 12:35:40 # Redis is now ready to exit, bye bye...
12:35:40 system | sending SIGTERM to pid 4376
12:35:40 resque.1 | rake aborted!
12:35:40 resque.1 | SIGTERM
12:35:40 resque.1 |
12:35:40 resque.1 | (See full trace by running task with --trace)
12:35:40 system | sending SIGTERM to pid 4378
12:35:40 sunspot.1 | rake aborted!
12:35:40 sunspot.1 | SIGTERM
12:35:40 sunspot.1 |
12:35:40 sunspot.1 | (See full trace by running task with --trace)
12:35:40 sunspot.1 | process terminated
12:35:40 resque.1 | process terminated
12:35:40 redis.1 | process terminated
© Stack Overflow or respective owner