7 lines
156 B
Bash

#! /bin/sh
exec nice -n 10 restic \
-r "s3:{{ backup_s3_aws_endpoint_url }}/{{ backup_s3_bucket }}/restic" \
-p /opt/restic-password \
--verbose \
"$@"