summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2003-12-06 13:11:17 +0000
committerMichael Imhof <tantive@gentoo.org>2003-12-06 13:11:17 +0000
commitfbf768ed96f52204d8a88eb99fa3f3a584df5e28 (patch)
tree70fe27a50e1825f8d24722f664003b41f7b29a43 /app-admin/gentoo-rsync-mirror/files
parentresubmit good copy (diff)
downloadgentoo-2-fbf768ed96f52204d8a88eb99fa3f3a584df5e28.tar.gz
gentoo-2-fbf768ed96f52204d8a88eb99fa3f3a584df5e28.tar.bz2
gentoo-2-fbf768ed96f52204d8a88eb99fa3f3a584df5e28.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.sh6
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