create rsyslog role which logs everything to /var/log/all.log

This commit is contained in:
Timo Makinen 2019-05-29 00:07:39 +03:00
parent e0b519cf21
commit 13f0332fa1
4 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,6 @@
/var/log/all.log {
create 0640 root root
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}