【问题标题】:Sidekiq fails after startSidekiq 启动后失败
【发布时间】:2017-04-21 16:38:35
【问题描述】:

之后

    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

过程

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

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

【问题讨论】:

    标签: ruby-on-rails ruby sidekiq foreman


    【解决方案1】:

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

    sidekiq: bundle exec sidekiq
    

    【讨论】:

      猜你喜欢
      • 2016-10-31
      • 2018-04-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-06-15
      • 1970-01-01
      • 2012-09-16
      • 1970-01-01
      相关资源
      最近更新 更多