Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # turn on bash's job control
- set -m
- # Start the primary process and put it in the background
- python kineticscolor2_JSON.py &
- rabbitmq-server -detached &
- # Start the helper process
- celery -A kineticscolor2_JSON.celery worker --detach
- # the my_helper_process might need to know how to wait on the
- # primary process to start before it does its work and returns
- # now we bring the primary process back into the foreground
- # and leave it there
- fg %1
Add Comment
Please, Sign In to add comment