Linux Agent: Remove cache files on host reboot
On host bootup the agent's cache directory should be emptied (configurable).
This would trigger all cached agent plugins to run again, including e.g. mk_apt, which usually only runs every 24 hours.
The windows agent forgets all the cached sections as soon as the service is restarted.
Comments: 2
Oldest
•
Newest
•
Most likes
•
Fewest likes
-
13 Dec, '22
Robert Sander MergedThe cache directory should be cleaned at boot time.
At least .new files should be removed because they hinder plugins to run again. -
16 Mar
Andrea Vaccaro System"Cleanup cache directory on Unix boot" (suggested by <Hidden> on 2022-12-13), including upvotes (5) and comments (0), was merged into this suggestion.