summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-03-16 15:10:23 +0100
committerChristoph Helma <helma@in-silico.ch>2011-03-16 15:10:23 +0100
commitf80444a8c87d428adcd584e6eefd35c621ce31a2 (patch)
tree1071ec503bebb801a4680e50da89db91c5f4b101
parent18e67e9205aed39e06f849b8ff7e54591289c59e (diff)
parent0d0a5a2d1460a8ca8a7126dd2d47473ddc383a70 (diff)
Merge branch 'release/v1.0.1'v1.0.1
-rwxr-xr-xupdate13
1 files changed, 13 insertions, 0 deletions
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