i try run sidekiq service supervisord
here's config:
[program:my-app-sidekiq-staging] directory=/srv/www/domain/current command=rails_env=production /usr/local/rvm/bin/rvm ruby-2.2.2@my-app-staging bundle exec sidekiq -e production -d -c config/sidekiq.yml -l log/sidekiq.log autostart=true autorestart=true redirect_stderr=true after startup i’m have fatal error:
can't find command 'rails_env=production' i’m confused, because config rails runs without errors
directory=/srv/www/domain/current command=rails_env=production /usr/local/rvm/bin/rvm ruby-2.2.2@my-app-staging bundle exec passenger start -s tmp/unicorn/ilp-app-unicorn.sock --environment production --friendly-error-pages
your environment should not set in command in separate environment value.
environment=rails_env=production see question.
Comments
Post a Comment