Guest User

Untitled

a guest
Jul 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #!/usr/bin/env sh
  2. echo "Starting Redis-Server in the background ..."
  3. nohup redis-server --save "" --appendonly no > log/redis_server_dev_nohup.log &
  4.  
  5. echo "Starting Sidekiq in the background ..."
  6. nohup bundle exec sidekiq -C config/sidekiq.yml > log/sidekiq_dev_nohup.log &
  7. nohup bundle exec sidekiq -C config/sidekiq-serial.yml > log/sidekiq_dev_nohup.log &
  8. nohup bundle exec sidekiq -C config/sidekiq-reports.yml > log/sidekiq_dev_nohup.log &
  9.  
  10. echo "Starting Server ..."
  11. rails server
  12.  
  13. # stop redis
  14. # redis-server stop # Linux
  15. echo "Shutdown all processes ..."
  16. # If all the child procs are good and listen to the ctrl-c signal
  17. # redis-cli shutdown # mac
Add Comment
Please, Sign In to add comment