diff --git a/templates/backup-mount.sh.j2 b/templates/backup-mount.sh.j2 index d90a437..297ee15 100644 --- a/templates/backup-mount.sh.j2 +++ b/templates/backup-mount.sh.j2 @@ -1,3 +1,4 @@ +#!/bin/bash source ./vars.sh MOUNT_PATH="/mnt/restic" diff --git a/templates/backup-send.sh.j2 b/templates/backup-send.sh.j2 index 036fef9..7c6e537 100644 --- a/templates/backup-send.sh.j2 +++ b/templates/backup-send.sh.j2 @@ -1,3 +1,4 @@ +#!/bin/bash ###### Unlock the restic database in case it's locked $RESTIC --password-file=$PWD_FILE unlock diff --git a/templates/backup-vars.sh.j2 b/templates/backup-vars.sh.j2 index fdea2ba..1a37f8f 100644 --- a/templates/backup-vars.sh.j2 +++ b/templates/backup-vars.sh.j2 @@ -1,3 +1,4 @@ +#!/bin/bash export RESTIC_REPOSITORY="{{ restic_repository }}" export AWS_ACCESS_KEY_ID="{{ cloudflare_r2_access_key }}" export AWS_SECRET_ACCESS_KEY="{{ cloudflare_r2_secret_key }}"