summaryrefslogtreecommitdiff
path: root/sys-cluster/slurm/files/logrotate
blob: 978a869eb993ec89b8f62708a41b6bebf772caa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/var/log/slurm/*.log {
    weekly
    compress
    missingok
    nocopytruncate
    nocreate
    nodelaycompress
    nomail
    notifempty
    noolddir
    rotate 5
    sharedscripts
    size=5M
    create 640 slurm slurm
    postrotate
        /etc/init.d/slurmd reload
        /etc/init.d/slurmctld reload
        /etc/init.d/slurmdbd reload
    endscript
}