Created
May 20, 2018 05:10
-
-
Save guxiaobai/19696582ac34eff4bdafdb4d5b4b7553 to your computer and use it in GitHub Desktop.
Revisions
-
guxiaobai created this gist
May 20, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ bundle install --path /var/www/jky_api_bear/shared/bundle --without development test --deployment --quiet bundle exec sidekiqctl stop /var/www/jky_api_bear/shared/tmp/pids/sidekiq-0.pid 10 bundle exec sidekiq --index 0 --pidfile /var/www/jky_api_bear/shared/tmp/pids/sidekiq-0.pid --environment production --logfile /var/www/jky_api_bear/shared/log/sidekiq.log --queue default --config config/sidekiq.yml --concurrency 5 --daemon bundle exec pumactl -S /var/www/jky_api_bear/shared/tmp/pids/puma.state restart bundle exec puma -C /var/www/jky_api_bear/shared/puma.rb --daemon