diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-07-31 12:51:21 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-07-31 12:51:21 +0200 |
commit | 61bb1dd7f73e58eda30606fd8767dd28b4803e84 (patch) | |
tree | bc45dbbf26409c9ac9374ed4dac0c2bd4569e4ba /backuper.sh | |
parent | Add support for custom stages of pipeline (diff) | |
download | backuper-61bb1dd7f73e58eda30606fd8767dd28b4803e84.tar.xz |
Use batch mode for GPG
Diffstat (limited to 'backuper.sh')
-rw-r--r-- | backuper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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. |