Upstart Sidekiq“env必须是KEY = VALUE”

时间:2014-07-01 07:39:51

标签: sidekiq upstart

我想使用upstart作为后台sidekiq进程。我参考了以下链接来配置sidekiq upstart

https://github.com/mperham/sidekiq/blob/master/examples/upstart/manage-many/sidekiq.conf

然后当我运行命令时,sudo service

sudo start sidekiq path / to / myproject index = 0

我得 env必须是KEY = VALUE

1 个答案:

答案 0 :(得分:0)

path / to / project需要更改为app = path / to / project。所以:

sudo start sidekiq app=path/to/myproject index=0