summaryrefslogtreecommitdiffstats
path: root/linhes/rsyslog/rsyslog.logrotate
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-02-01 22:46:22 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-02-01 22:46:22 (GMT)
commitf3a5f1cbfcc685d03c859e597cf19260868e2498 (patch)
tree75edd3a1b64f86b8aa2537771f4752b807d4ff76 /linhes/rsyslog/rsyslog.logrotate
parentf60be96c26c0208a9df48f25c5f435292c0d6b6c (diff)
downloadlinhes_pkgbuild-f3a5f1cbfcc685d03c859e597cf19260868e2498.zip
linhes_pkgbuild-f3a5f1cbfcc685d03c859e597cf19260868e2498.tar.gz
linhes_pkgbuild-f3a5f1cbfcc685d03c859e597cf19260868e2498.tar.bz2
rsyslog: initial inclusion
Diffstat (limited to 'linhes/rsyslog/rsyslog.logrotate')
-rw-r--r--linhes/rsyslog/rsyslog.logrotate7
1 files changed, 7 insertions, 0 deletions
diff --git a/linhes/rsyslog/rsyslog.logrotate b/linhes/rsyslog/rsyslog.logrotate
new file mode 100644
index 0000000..889c989
--- /dev/null
+++ b/linhes/rsyslog/rsyslog.logrotate
@@ -0,0 +1,7 @@
+/var/log/auth.log /var/log/cron.log /var/log/daemon.log /var/log/debug /var/log/kern.log /var/log/lpr.log /var/log/mail.err /var/log/mail.info /var/log/mail.log /var/log/mail.warn /var/log/messages /var/log/news /var/log/syslog /var/log/user.log {
+ missingok
+ sharedscripts
+ postrotate
+ /usr/bin/killall -HUP /usr/bin/rsyslogd
+ endscript
+}