From 0d0a5a2d1460a8ca8a7126dd2d47473ddc383a70 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 16 Mar 2011 13:45:40 +0100 Subject: update added --- update | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 update diff --git a/update b/update new file mode 100755 index 0000000..c8f9a21 --- /dev/null +++ b/update @@ -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 -- cgit v1.2.3