diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/backup.sh.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/backup.sh.j2 b/templates/backup.sh.j2 index b1abb79..3937dfc 100644 --- a/templates/backup.sh.j2 +++ b/templates/backup.sh.j2 @@ -4,6 +4,8 @@ # ~~~~ ~~~~ # ############################################################################### +set -eu + export HOME=/root export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export BORG_RSH="ssh -i /root/.ssh/borg" |