aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2019-08-22 19:10:35 +0200
committerJulien Dessaux2019-08-22 19:10:35 +0200
commit0087b1fc163eb84682cb949b0e82300f43566ed9 (patch)
treeff68c9a34b7afde33333ca689745908168273b92
parentFixed borg cron not working on openbsd (diff)
downloadborg-ansible-role-0087b1fc163eb84682cb949b0e82300f43566ed9.tar.gz
borg-ansible-role-0087b1fc163eb84682cb949b0e82300f43566ed9.tar.bz2
borg-ansible-role-0087b1fc163eb84682cb949b0e82300f43566ed9.zip
Fixed borg backups on openbsd
Diffstat (limited to '')
-rw-r--r--templates/backup.sh.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/backup.sh.j2 b/templates/backup.sh.j2
index 89fcccb..a5a65c9 100644
--- a/templates/backup.sh.j2
+++ b/templates/backup.sh.j2
@@ -5,7 +5,7 @@
###############################################################################
export HOME=/root
-export PATH=${PATH}:/usr/local/bin
+export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export BORG_RSH="ssh -i /root/.ssh/borg"
{% for job in borg_jobs %}