summaryrefslogtreecommitdiff
path: root/update
blob: 77183edf44f50235dd3d94c992d445eca0dbdf25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
. /etc/profile
gem update opentox-ruby
dir=`pwd`
cd /var/www/opentox
for s in *; do
  echo $s
  cd $s
  git pull
  cd -
done
cd /var/www/algorithm
rake fminer:update
kill `cat /opt/nginx/logs/nginx.pid`
/opt/nginx/sbin/nginx
cd $dir