This commit is contained in:
Hunter Haugen 2021-09-24 13:41:30 -07:00
parent 5f9ff85aa6
commit 7be1b3ad5a
Signed by: hunner
GPG key ID: EF99694AA599DDAD
2 changed files with 10 additions and 2 deletions

8
local/bin/rtic Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
export AWS_ACCESS_KEY_ID=$(pass Linux/restic-aws-key-id)
export AWS_SECRET_ACCESS_KEY=$(pass Linux/restic-aws-secret-access-key)
export RESTIC_REPOSITORY=$(pass Linux/restic-repository)
export RESTIC_PASSWORD=$(pass Linux/restic-password)
exec restic "$@"