Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env sh
- echo "Starting Redis-Server in the background ..."
- nohup redis-server --save "" --appendonly no > log/redis_server_dev_nohup.log &
- echo "Starting Sidekiq in the background ..."
- nohup bundle exec sidekiq -C config/sidekiq.yml > log/sidekiq_dev_nohup.log &
- nohup bundle exec sidekiq -C config/sidekiq-serial.yml > log/sidekiq_dev_nohup.log &
- nohup bundle exec sidekiq -C config/sidekiq-reports.yml > log/sidekiq_dev_nohup.log &
- echo "Starting Server ..."
- rails server
- # stop redis
- # redis-server stop # Linux
- echo "Shutdown all processes ..."
- # If all the child procs are good and listen to the ctrl-c signal
- # redis-cli shutdown # mac
Add Comment
Please, Sign In to add comment