saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
0
logrotate.d/.keep_app-admin_logrotate-0
Normal file
0
logrotate.d/.keep_app-admin_logrotate-0
Normal file
11
logrotate.d/apache2
Normal file
11
logrotate.d/apache2
Normal file
@@ -0,0 +1,11 @@
|
||||
# Apache2 logrotate snipet for Gentoo Linux
|
||||
# Contributes by Chuck Short
|
||||
#
|
||||
/var/log/apache2/*log {
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
postrotate
|
||||
/etc/init.d/apache2 reload > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
10
logrotate.d/elog-save-summary
Normal file
10
logrotate.d/elog-save-summary
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# Rotate the log created by the save_summary elog module.
|
||||
|
||||
/var/log/portage/elog/summary.log {
|
||||
su portage portage
|
||||
missingok
|
||||
nocreate
|
||||
delaycompress
|
||||
}
|
||||
6
logrotate.d/hibernate-script
Normal file
6
logrotate.d/hibernate-script
Normal file
@@ -0,0 +1,6 @@
|
||||
/var/log/hibernate.log {
|
||||
missingok
|
||||
rotate 5
|
||||
size 100k
|
||||
weekly
|
||||
}
|
||||
15
logrotate.d/mysql
Normal file
15
logrotate.d/mysql
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/files/logrotate.mysql,v 1.2 2011/01/13 20:06:06 robbat2 Exp $
|
||||
|
||||
/var/log/mysql/mysql.err /var/log/mysql/mysql.log /var/log/mysql/mysqld.err {
|
||||
monthly
|
||||
create 660 mysql mysql
|
||||
notifempty
|
||||
size 5M
|
||||
sharedscripts
|
||||
missingok
|
||||
postrotate
|
||||
[ -f /var/run/mysqld/mysqld.pid ] && /bin/kill -HUP `cat /var/run/mysqld/mysqld.pid`
|
||||
endscript
|
||||
}
|
||||
12
logrotate.d/nginx
Normal file
12
logrotate.d/nginx
Normal file
@@ -0,0 +1,12 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.logrotate-r1,v 1.1 2014/06/19 09:52:24 dev-zero Exp $
|
||||
|
||||
/var/log/nginx/*_log {
|
||||
missingok
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid`
|
||||
endscript
|
||||
}
|
||||
8
logrotate.d/openconnect
Normal file
8
logrotate.d/openconnect
Normal file
@@ -0,0 +1,8 @@
|
||||
# openconnect logrotate snipet for Gentoo Linux
|
||||
#
|
||||
/var/log/openconnect/*/* {
|
||||
missingok
|
||||
size 5M
|
||||
notifempty
|
||||
}
|
||||
|
||||
7
logrotate.d/openrc
Normal file
7
logrotate.d/openrc
Normal file
@@ -0,0 +1,7 @@
|
||||
/var/log/rc.log {
|
||||
compress
|
||||
rotate 4
|
||||
weekly
|
||||
missingok
|
||||
notifempty
|
||||
}
|
||||
8
logrotate.d/pm-utils
Normal file
8
logrotate.d/pm-utils
Normal file
@@ -0,0 +1,8 @@
|
||||
/var/log/pm-suspend.log /var/log/pm-powersave.log {
|
||||
monthly
|
||||
rotate 4
|
||||
delaycompress
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
}
|
||||
9
logrotate.d/privoxy
Normal file
9
logrotate.d/privoxy
Normal file
@@ -0,0 +1,9 @@
|
||||
/var/log/privoxy/privoxy.log /var/log/privoxy/jarfile {
|
||||
missingok
|
||||
notifempty
|
||||
create 0640 privoxy privoxy
|
||||
sharedscripts
|
||||
postrotate
|
||||
killall -HUP privoxy 2>/dev/null || true
|
||||
endscript
|
||||
}
|
||||
9
logrotate.d/rsyncd
Normal file
9
logrotate.d/rsyncd
Normal file
@@ -0,0 +1,9 @@
|
||||
/var/log/rsync.log {
|
||||
compress
|
||||
maxage 365
|
||||
rotate 7
|
||||
size=+1024k
|
||||
notifempty
|
||||
missingok
|
||||
copytruncate
|
||||
}
|
||||
13
logrotate.d/syslog-ng
Normal file
13
logrotate.d/syslog-ng
Normal file
@@ -0,0 +1,13 @@
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.in,v 1.1 2014/01/22 04:25:35 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng logrotate snippet for Gentoo Linux
|
||||
# contributed by Michael Sterrett
|
||||
#
|
||||
|
||||
/var/log/messages {
|
||||
missingok
|
||||
sharedscripts
|
||||
postrotate
|
||||
/etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user