Sidekiq在开始后失败了

时间:2017-04-21 16:38:35

标签: ruby-on-rails ruby sidekiq foreman

之后

    foreman start 

我正在

    11:57:26 sidekiq.1 | started with pid 18203
    11:57:28 sidekiq.1 | exited with code 0
    11:57:28 system    | sending SIGTERM to all processes

在日志中:

    # Logfile created on 2017-04-21 12:14:44 -0400 by logger.rb/56438

PROC

 sidekiq: bundle exec sidekiq -d -l sidekiq.log

当我手动运行Proc命令时,一切似乎都很好。我哪里可能错了?

1 个答案:

答案 0 :(得分:1)

不要守护或重定向日志。将Procfile更改为:

sidekiq: bundle exec sidekiq