Bring back backuptask

This is required for various small reasons:

* dir iteration with a way to pass messagein back to the upload() easily
* can be killed independently of box code
* allows us to run sync (blocking) commands in the upload logic
This commit is contained in:
Girish Ramakrishnan
2017-09-19 08:19:01 -07:00
parent 44435559ab
commit 84649b9471
6 changed files with 155 additions and 21 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ scripts=("${SOURCE_DIR}/src/scripts/rmappdir.sh" \
"${SOURCE_DIR}/src/scripts/collectlogs.sh" \
"${SOURCE_DIR}/src/scripts/configurecollectd.sh" \
"${SOURCE_DIR}/src/scripts/authorized_keys.sh" \
"${SOURCE_DIR}/src/scripts/tar.js" \
"${SOURCE_DIR}/src/backuptask.js" \
"${SOURCE_DIR}/src/scripts/configurelogrotate.sh")
for script in "${scripts[@]}"; do