Revision 6890cf2e daemons/ganeti-cleaner.in
b/daemons/ganeti-cleaner.in | ||
---|---|---|
55 | 55 |
|
56 | 56 |
# Remove old watcher files |
57 | 57 |
find $DATA_DIR -maxdepth 1 -type f -mtime +$REMOVE_AFTER \ |
58 |
-name 'watcher.*-*-*-*.data' -print0 | \ |
|
58 |
\( -name 'watcher.*-*-*-*.data' -or \ |
|
59 |
-name 'watcher.*-*-*-*.instance-status' \) -print0 | \ |
|
59 | 60 |
xargs -r0 rm -vf |
60 | 61 |
} |
61 | 62 |
|
Also available in: Unified diff