tutorials:3.2.x:syslog
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorials:3.2.x:syslog [2011/12/20 15:57] – [Log Rotate] 85.178.76.94 | tutorials:3.2.x:syslog [2022/03/23 08:55] (current) – [Log Rotate] miconda | ||
---|---|---|---|
Line 94: | Line 94: | ||
kill -HUP `cat / | kill -HUP `cat / | ||
fi; | fi; | ||
+ | </ | ||
+ | |||
+ | |||
+ | For **rsyslogd**: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | daily | ||
+ | missingok | ||
+ | rotate 14 | ||
+ | compress | ||
+ | delaycompress | ||
+ | create 0644 root adm | ||
+ | postrotate | ||
+ | / | ||
+ | endscript | ||
+ | } | ||
</ | </ |
tutorials/3.2.x/syslog.1324396660.txt.gz · Last modified: 2011/12/20 15:57 by 85.178.76.94