small change in sync script
authorymh <ymh.work@gmail.com>
Sat, 12 Jun 2010 00:35:35 +0200
changeset 31 2eed941e2ca1
parent 30 81d408373dde
child 32 a6b49630c546
small change in sync script
sbin/sync/sync_ldt_platform
--- a/sbin/sync/sync_ldt_platform	Sat Jun 12 00:33:37 2010 +0200
+++ b/sbin/sync/sync_ldt_platform	Sat Jun 12 00:35:35 2010 +0200
@@ -9,7 +9,7 @@
 #text2unix ~/tmp/eulalie_V$1
 
 if [ -d ~/tmp/eulalie_V$1 ]; then
-    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/eulalie_V$1/web/ web.iri.centrepompidou.fr:/iridata/www/web/eulalie/
+    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/eulalie_V$1/web/ iri@web.iri.centrepompidou.fr:/iridata/www/web/eulalie/
 + core
 P .htpasswd
 P .htaccess
@@ -27,5 +27,3 @@
     echo "Deleting temp export"
     rm -fr ~/tmp/eulalie_V$1;
 fi
-
-ssh web.iri.centrepompidou.fr sudo apache2ctl restart