diff options
author | 2003-12-06 13:11:17 +0000 | |
---|---|---|
committer | 2003-12-06 13:11:17 +0000 | |
commit | e57a34b5491781bec5e8897767e61bcc8a0979cb (patch) | |
tree | 82877f7fbaf5419272faa6ed4253bad2021cee3e /app-admin/gentoo-rsync-mirror/files | |
parent | resubmit good copy (diff) | |
download | historical-e57a34b5491781bec5e8897767e61bcc8a0979cb.tar.gz historical-e57a34b5491781bec5e8897767e61bcc8a0979cb.tar.bz2 historical-e57a34b5491781bec5e8897767e61bcc8a0979cb.zip |
Changed the script to log into /var/log
Diffstat (limited to 'app-admin/gentoo-rsync-mirror/files')
-rw-r--r-- | app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh b/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh index 3c69d2998eb2..5f01e69a3719 100644 --- a/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh +++ b/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh @@ -8,9 +8,9 @@ OPTS="--quiet --recursive --links --perms --times --devices --compress --delete SRC="rsync://rsync.gentoo.org/gentoo-portage" DST="/opt/gentoo-rsync/portage/" -echo "Started update at" `date` >> $0.log 2>&1 +echo "Started update at" `date` >> /var/log/$0.log 2>&1 logger -t rsync "re-rsyncing the gentoo-portage tree" -${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1 +${RSYNC} ${OPTS} ${SRC} ${DST} >> /var/log/$0.log 2>&1 -echo "End: "`date` >> $0.log 2>&1 +echo "End: "`date` >> /var/log/$0.log 2>&1 |