Created
December 15, 2009 12:20
-
-
Save ewheeler/256895 to your computer and use it in GitHub Desktop.
This file contains 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
# load default settings | |
source "$HOME/.screenrc" | |
# start all new windows in the project root | |
chdir "$HOME/rapidsms/core/" | |
# start rapidsms (note that we're not just invoking | |
# it with the new window, because that causes the | |
# window to CLOSE if/when the program terminates) | |
screen -t rapidsms | |
stuff "./rapidsms route\015" | |
# start django after a short delay | |
screen -t django | |
stuff "sleep 2\015" | |
stuff "sudo ./rapidsms runserver 0.0.0.0:80\015" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment