]> gitweb.fluxo.info Git - hydra.git/commitdiff
Make sync-tpc be nice and ionice (2)
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Jun 2017 18:48:03 +0000 (15:48 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Jun 2017 18:48:03 +0000 (15:48 -0300)
share/hydractl/sync-tpc

index 7f79e0b21e8a66ccc69fd7b252e91f1a7b8d4db5..1f38b3205e19cc895aa2d5aff11baeab7ba08cf3 100755 (executable)
@@ -8,7 +8,7 @@ BASENAME="$0"
 TPC="$1"
 DEST="/media/$1"
 MEDIA="$DEST/var/cache/$TPC/media"
-RSYNC="ionice -c 3 nice -n 19 rsync -av --delete --progress"
+RSYNC="ionice -c 3 nice -n 19 rsync -av --delete --progress --stats"
 
 # Syntax
 if [ -z "$TPC" ]; then