summaryrefslogtreecommitdiffstats
path: root/testing/inetutils-syslogd/inetutils-syslogd.logrotate
diff options
context:
space:
mode:
authorIT Offshore <developer@it-offshore.co.uk>2013-11-10 09:59:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-15 15:56:53 +0000
commitfb2496e8e08eec0708272fa1fd13bf0174250b95 (patch)
tree9e2ae87bd03d9662fa591d7cf2b963fd39f34eb5 /testing/inetutils-syslogd/inetutils-syslogd.logrotate
parenteadf0256139ab6119be9dcc04df58ac4bef2918a (diff)
downloadaports-fb2496e8e08eec0708272fa1fd13bf0174250b95.tar.bz2
aports-fb2496e8e08eec0708272fa1fd13bf0174250b95.tar.xz
testing/inetutils-syslogd: new aport
A small syslogd for logging to multiple files http://www.gnu.org/software/inetutils/ revised complete patch for inetutils-syslogd. post-install - just gives status / info message - configuration is now done by /sbin/setup-inetutils-syslogd. Both scripts now use the system colours $STRONG $RED $GREEN. post-deinstall - just adds back busybox syslog to boot runlevel & shows the status of syslog & cron (as cron will be stopped by removing any syslog)
Diffstat (limited to 'testing/inetutils-syslogd/inetutils-syslogd.logrotate')
-rw-r--r--testing/inetutils-syslogd/inetutils-syslogd.logrotate38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/inetutils-syslogd/inetutils-syslogd.logrotate b/testing/inetutils-syslogd/inetutils-syslogd.logrotate
new file mode 100644
index 000000000..9edb145f6
--- /dev/null
+++ b/testing/inetutils-syslogd/inetutils-syslogd.logrotate
@@ -0,0 +1,38 @@
+/var/log/syslog
+{
+ rotate 7
+ daily
+ missingok
+ notifempty
+ delaycompress
+ compress
+ postrotate
+ /etc/init.d/inetutils-syslogd reload &>/dev/null || true
+ endscript
+}
+
+/var/log/mail.info
+/var/log/mail.warn
+/var/log/mail.err
+/var/log/mail.log
+/var/log/daemon.log
+/var/log/kern.log
+/var/log/auth.log
+/var/log/user.log
+/var/log/lpr.log
+/var/log/cron.log
+/var/log/debug
+/var/log/messages
+{
+ rotate 4
+ weekly
+ missingok
+ notifempty
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /etc/init.d/inetutils-syslogd reload &>/dev/null || true
+ endscript
+}
+