Refactored /usr/local/bin

This commit is contained in:
2023-03-26 17:05:06 +02:00
parent 665a4ba72e
commit ada258b20d
24 changed files with 51 additions and 38 deletions

View File

@@ -4,4 +4,4 @@ OnFailure=systemd-email@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/bash /usr/local/bin/pull-remote-backups.sh
ExecStart=/usr/bin/bash {{docker_pull_primary_backups_folder}}pull-remote-backups.sh

View File

@@ -3,6 +3,6 @@
hosts="{{pull_remote_backups_hosts}}";
errors=0
for host in $hosts; do
bash /usr/local/bin/pull-remote-backup.sh $host || ((errors+=1));
bash {{docker_pull_primary_backups_folder}}/pull-remote-backup.sh $host || ((errors+=1));
done;
exit $errors;