diff options
author | 2003-09-30 23:06:18 +0000 | |
---|---|---|
committer | 2003-09-30 23:06:18 +0000 | |
commit | 520a669c4ac975c3792c8ef1c1d6225a5fd2b918 (patch) | |
tree | a61170ae355e9014e6ae61579fd5af03db6ea76e /admin | |
parent | moved to cronolog for logging (diff) | |
download | gentoo-520a669c4ac975c3792c8ef1c1d6225a5fd2b918.tar.gz gentoo-520a669c4ac975c3792c8ef1c1d6225a5fd2b918.tar.bz2 gentoo-520a669c4ac975c3792c8ef1c1d6225a5fd2b918.zip |
initial version of script
Diffstat (limited to 'admin')
-rw-r--r-- | admin/www.gentoo.org/scripts/rsync-weblogs.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/admin/www.gentoo.org/scripts/rsync-weblogs.sh b/admin/www.gentoo.org/scripts/rsync-weblogs.sh new file mode 100644 index 0000000000..5823ea11d8 --- /dev/null +++ b/admin/www.gentoo.org/scripts/rsync-weblogs.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# +# rsync weblogs to the central server +# +# Kurt Lieber +# klieber@gentoo.org +# +# v0.1 +# +####################################### + +RSYNC="/usr/bin/rsync" +LOCALDIR="/var/log/apache/*" +RSYNCSERVER="monitor.gentoo.org::web-logs" +REMOTEDIR="/$HOSTNAME/" +RSYNCOPTIONS="" + +${RSYNC} ${RSYNCOPTIONS} ${LOCALDIR} ${RSYNCSERVER}${REMOTEDIR} + |