Better testing of pushover

And archive loop logging weirdness.
This commit is contained in:
Richard Goodwin
2018-10-21 13:37:29 -05:00
parent a8ac613fd0
commit 5b4dd4538f
3 changed files with 12 additions and 9 deletions

View File

@@ -2,10 +2,10 @@
# Change the value on the right side of the equal sign to the name of the server hosting the archive.
ARCHIVE_HOST_NAME=archiveserver
LOGFILE=/tmp/archiveloop.log
LOG_FILE=/tmp/archiveloop.log
function log () {
echo "$( date ) : $1" >> "$LOGFILE"
echo "$( date ) : $1" >> "$LOG_FILE"
}
function archive_is_reachable () {