From 61bb1dd7f73e58eda30606fd8767dd28b4803e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Sun, 31 Jul 2016 12:51:21 +0200 Subject: Use batch mode for GPG --- backuper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backuper.sh b/backuper.sh index 84bf943..c4797b5 100644 --- a/backuper.sh +++ b/backuper.sh @@ -266,7 +266,7 @@ start_pipeline() { add_stage "mbuffer -q -m "$MBUFFER_SIZE"" add_stage "pbzip2" add_stage "mbuffer -q -m "$MBUFFER_SIZE"" - add_stage "gpg -z0 $GPG_RECIPIENTS_LIST -e" + add_stage "gpg --trust-model always --batch --yes -z0 $GPG_RECIPIENTS_LIST -e" ## OK, this is strange. If store command fail, mbuffer forks itself with ## PID that I'm not able to get (event from list of children). ## ... and it takes 100% CPU. So, for now: Do not use mbuffer as the last one. -- cgit v1.2.3