blob: c8f9a21f30a62435c4b993296c8636fe1db4731a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|