mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Stats script: only rsync necessary logs to save disk space
This commit is contained in:
parent
87fef805e8
commit
a3734ecc20
1 changed files with 1 additions and 1 deletions
|
@ -10,6 +10,6 @@ WORKDIR='/bitcoin.org/stats'
|
|||
LOGDIR='build@bitcoinorglog:/var/log/nginx'
|
||||
DSTDIR='build@bitcoinorgstats:/var/www/stats'
|
||||
|
||||
rsync -rtz --delete $LOGDIR/ $WORKDIR/srclogs/
|
||||
rsync -rtz --delete --exclude="error.*" --exclude="*.gz" $LOGDIR/ $WORKDIR/srclogs/
|
||||
ruby $WORKDIR/stats.rb
|
||||
rsync -rtz --delete $WORKDIR/stats/ $DSTDIR/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue