Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (14 sloc) 472 Bytes
#!/bin/bash
LOG=log/update.log
echo >> ${LOG} ------------------------------------------------------------
date >> ${LOG}
echo >> ${LOG} ------------------------------------------------------------
echo >> ${LOG}
/etc/init.d/myexperiment stop | tee -a ${LOG}
echo >> ${LOG}
svn update | tee -a ${LOG}
echo >> ${LOG}
rake db:migrate | tee -a ${LOG}
echo >> ${LOG}
/etc/init.d/myexperiment start | tee -a ${LOG}
echo >> ${LOG}
Something went wrong with that request. Please try again.