diff options
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 |