Changeset 370 for branches/stable


Ignore:
Timestamp:
Feb 11, 2006, 1:17:36 AM (14 years ago)
Author:
bcornec
Message:

First test of the Website on http://www1.mondorescue.org

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/livwww

    r369 r370  
    99#
    1010DESTDIR=/var/www/html/mondo
     11DESTMACH=www1.mondorescue.org
     12DESTUSER=apache
     13MONDODIR=/mondo/www/html/mondo
    1114
    1215
     
    2629find $DESTDIR -type d | xargs chmod 755
    2730find $DESTDIR -type f | xargs chmod 644
     31if [ _"$1" == _"" ); then
     32        exit 0
     33fi
     34cd $DESTDIR
     35tar cfj /tmp/mondo-www.tz2 .
     36ssh ${DESTUSER}@${DESTMACH} "rm -rf ${MONDODIR} ; mkdir ${MONDODIR}"
     37scp /tmp/mondo-www.tz2 ${DESTUSER}@${DESTMACH}:/tmp
     38ssh ${DESTUSER}@${DESTMACH} "cd ${MONDODIR} ; tar xfj /tmp/mondo-www.tz2"
Note: See TracChangeset for help on using the changeset viewer.