diff options
author | Julien Dessaux | 2019-08-22 19:10:35 +0200 |
---|---|---|
committer | Julien Dessaux | 2019-08-22 19:10:35 +0200 |
commit | 0087b1fc163eb84682cb949b0e82300f43566ed9 (patch) | |
tree | ff68c9a34b7afde33333ca689745908168273b92 /templates | |
parent | Fixed borg cron not working on openbsd (diff) | |
download | borg-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.j2 | 2 |
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 %} |