Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 630752
Collapse All | Expand All

(-)a/app-admin/logcheck/files/logcheck.cron (-2 / +2 lines)
Lines 4-10 set -e Link Here
4
4
5
if [ ! -d /var/lock/logcheck ]; then
5
if [ ! -d /var/lock/logcheck ]; then
6
	mkdir -p /var/lock/logcheck
6
	mkdir -p /var/lock/logcheck
7
	chown logcheck:logcheck /var/lock/logcheck
7
fi
8
fi
8
chown -R logcheck:logcheck /var/lock/logcheck
9
9
10
su -s /bin/bash -c /usr/sbin/logcheck logcheck
10
/sbin/runuser -u logcheck -- nice -n10 /usr/sbin/logcheck
(-)a/app-admin/logcheck/logcheck-1.3.23.ebuild (-3 / +3 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=7
4
EAPI=7
Lines 56-65 src_install() { Link Here
56
	doexe "${FILESDIR}"/logcheck.cron
56
	doexe "${FILESDIR}"/logcheck.cron
57
57
58
	readme.gentoo_create_doc
58
	readme.gentoo_create_doc
59
60
	fowners -R logcheck:logcheck /etc/logcheck /var/lib/logcheck || die
59
}
61
}
60
62
61
pkg_postinst() {
63
pkg_postinst() {
62
	chown -R logcheck:logcheck /etc/logcheck /var/lib/logcheck || die
63
64
	readme.gentoo_print_elog
64
	readme.gentoo_print_elog
65
}
65
}

Return to bug 630752