Files
nvke/agent/scripts/nvke-execute-scripts.logrotate
Chao 6bc0e1c9e8 fix(agent): rename node agent package and contracts to nvke (#1565)
* fix(agent): rename node agent package and contracts to nvke

Signed-off-by: Chao Chen <chaoch@nvidia.com>
2026-10-12 14:14:32 -07:00

15 lines
407 B
Plaintext

# Logrotate config for nvke-agent script execution log.
# Install to /etc/logrotate.d/ (e.g. as nvke-execute-scripts or nvke-agent).
#
# copytruncate: truncate the log in place after copying, so the running
# agent does not need to reopen the file (it keeps writing to the same inode).
/var/log/nvke-execute-scripts.log {
daily
rotate 7
copytruncate
missingok
notifempty
compress
}