This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorials:3.2.x:syslog [2011/12/20 16:57] 85.178.76.94 [Log Rotate] |
tutorials:3.2.x:syslog [2022/03/23 09:55] (current) miconda [Log Rotate] |
||
---|---|---|---|
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 | ||
+ | } | ||
</ | </ |