This should prevent race conditions of the form that logs are attempted to be combined while syncing those of individual hosts hasn't finished. Signed-off-by: Nils Philippsen <nils@redhat.com>
7 lines
154 B
Bash
Executable file
7 lines
154 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Don't attempt to combine if syncing the individual logs failed.
|
|
set -e
|
|
|
|
/usr/local/bin/sync-http-logs.py
|
|
/usr/local/bin/combineHttpLogs.sh
|