diff options
Diffstat (limited to 'update')
-rwxr-xr-x | update | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#!/bin/sh +. /etc/profile +gem update opentox-ruby +dir=`pwd` +cd /var/www/opentox +for s in *; do + cd $s + git pull + cd - +done +kill `cat /opt/nginx/logs/nginx.pid` +/opt/nginx/sbin/nginx +cd $dir |