88fa0962823fab41b9dd16757c8cfb6dc7be3cd6
4 if [[ ! -e /dev
/shm
/iank-status
]]; then
7 eval $
(< /dev
/shm
/iank-status
)
9 out
=$
(find /var
/local
/cron-errors
/home
/iank
/cron-errors
/sysd-mail-once-state
-type f
)
11 echo HOSTNAME
: $HOSTNAME
14 if [[ $HOSTNAME != "$MAIL_HOST" ]]; then
17 for h
in {li
,bk
,je
}.b8.nz
; do
18 out
=$
(ssh $h find /m
/md
/bounces
/new
/var
/local
/cron-errors
/home
/iank
/cron-errors
/sysd-mail-once-state
-type f
)
25 # for .prom.$PID files, they will naturally exist when
26 # scripts like system-status get killed on reboot.
27 # Just clean them up here.
28 find /var
/lib
/prometheus
/node-exporter
-name '*[0-9]' -type f
-mtime 9 -delete