Add get_unit_files() and unit_file_exists() helper functions that cache the output of systemctl list-unit-files. This avoids running the same command multiple times when checking for node_exporter and hwmon.timer unit files. #6 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 KiB
Executable File
30 KiB
Executable File