Changeset 370 in MondoRescue
- Timestamp:
- Feb 11, 2006, 1:17:36 AM (19 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/livwww
r369 r370 9 9 # 10 10 DESTDIR=/var/www/html/mondo 11 DESTMACH=www1.mondorescue.org 12 DESTUSER=apache 13 MONDODIR=/mondo/www/html/mondo 11 14 12 15 … … 26 29 find $DESTDIR -type d | xargs chmod 755 27 30 find $DESTDIR -type f | xargs chmod 644 31 if [ _"$1" == _"" ); then 32 exit 0 33 fi 34 cd $DESTDIR 35 tar cfj /tmp/mondo-www.tz2 . 36 ssh ${DESTUSER}@${DESTMACH} "rm -rf ${MONDODIR} ; mkdir ${MONDODIR}" 37 scp /tmp/mondo-www.tz2 ${DESTUSER}@${DESTMACH}:/tmp 38 ssh ${DESTUSER}@${DESTMACH} "cd ${MONDODIR} ; tar xfj /tmp/mondo-www.tz2"
Note:
See TracChangeset
for help on using the changeset viewer.