Created
June 11, 2015 14:44
-
-
Save pkarman/050f988028a01e45a769 to your computer and use it in GitHub Desktop.
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 characters
| #!/bin/sh | |
| export $(cat .env | grep -v ^# | xargs) | |
| bundle exec rake say_when:start --trace 2>&1 >> log/say_when.log & | |
| #nohup bundle exec rake say_when:start 2>&1 >> log/say_when.log & | |
| echo $! > tmp/pids/say_when.pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the god script template I am using in production: