ayushkhare12

Untitled

Aug 15th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # turn on bash's job control
  4. set -m
  5.  
  6. # Start the primary process and put it in the background
  7. python kineticscolor2_JSON.py  &
  8. rabbitmq-server -detached &
  9.  
  10. # Start the helper process
  11. celery -A kineticscolor2_JSON.celery worker --detach
  12.  
  13. # the my_helper_process might need to know how to wait on the
  14. # primary process to start before it does its work and returns
  15.  
  16. # now we bring the primary process back into the foreground
  17. # and leave it there
  18. fg %1
Add Comment
Please, Sign In to add comment