From d02837d31ab70df79ea9a5de5909f5aa0efa6285 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 16 Feb 2015 14:12:54 +0100 Subject: use pigz instead of gzip --- bin/maintainance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/maintainance.sh b/bin/maintainance.sh index e5d5f18c..16e144f9 100755 --- a/bin/maintainance.sh +++ b/bin/maintainance.sh @@ -42,7 +42,7 @@ remove_old_rebootstrap_logs() { echo "Old html logs have been deleted:" echo "$OLDSTUFF" fi - COMPRESSED=$(find /var/lib/jenkins/jobs/rebootstrap_* -maxdepth 3 -mindepth 3 -mtime +1 -name log -exec gzip -9 -v {} \;) + COMPRESSED=$(find /var/lib/jenkins/jobs/rebootstrap_* -maxdepth 3 -mindepth 3 -mtime +1 -name log -exec pigz -9 -v {} \;) if [ ! -z "$COMPRESSED" ] ; then echo "Logs have been compressed:" echo "$COMPRESSED" -- cgit v1.2.3-70-g09d2