summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xacid/acid11
1 files changed, 9 insertions, 2 deletions
diff --git a/acid/acid b/acid/acid
index a22450c..9b01fb5 100755
--- a/acid/acid
+++ b/acid/acid
@@ -80,8 +80,15 @@ remove() {
removed=$(printf '%s\n' "$next" "$next" "$prev" | sort | uniq -u)
for name in $removed; do
- acid-remove "$name"
- echo "Removed $name"
+ job=$(make_log "$NULL_HASH" "remove" "$name")
+ log="$CYCHE_LOG_DIR/$job/log"
+
+ echo "$job" >"$CYCHE_STATUS_FILE"
+ echo "Removing $name"
+
+ acid-remove "$name" >"$log" 2>&1
+
+ echo "maint" >"$CYCHE_STATUS_FILE"
sleep "$CYCHE_JOB_TIME"
done
}