Added small serverscript which starts all 4 needed programs in screen-sessions. Use 'screen -ls' to see them all, 'screen -r ' to resume. CTRL-A, CTRL-D to detach again

This commit is contained in:
Philipp
2011-09-06 19:25:51 +10:00
parent b38761192f
commit 7fcfa3120e
2 changed files with 7 additions and 0 deletions

View File

7
serverscript Executable file
View File

@@ -0,0 +1,7 @@
#/bin/bash
screen -d -m -S "Server" rails s
screen -d -m -S "Solr" rake sunspot:solr:run
screen -d -m -S "Redis" redis-server
screen -d -m -S "Resque-worker" rake environment resque:work QUEUE=*