vi /etc/logrotate.d/slurm### SLURM Logrotate Configuration##
/var/log/slurm/*log {
compress
missingok
nocopytruncate
nocreate
nodelaycompress
nomail
notifempty
noolddir
rotate 5
sharedscripts
size=5M
create 640 slurm root
postrotate /etc/init.d/slurm reconfig
endscript
}
No comments:
Post a Comment