mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
- Move acct-* dependencies to RDEPEND to support binary packages.
Note: According to devmanual there will be a problem once emerge
will merge RDEPEND after the actual package.
- Handle the case when option is defined multiple times.
Closes: https://bugs.gentoo.org/693000
Closes: https://bugs.gentoo.org/686378
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
18 lines
453 B
Groff
18 lines
453 B
Groff
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
/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
|
|
pidfile=$(my_print_defaults server mysqld mariadb | grep 'pid[_-]file' | tail -n 1 | cut -d = -f 2)
|
|
if [ -s "${pidfile}" ] ; then
|
|
/bin/kill -HUP $(cat "${pidfile}")
|
|
fi
|
|
endscript
|
|
}
|