summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeath Caldwell <hncaldwell@gentoo.org>2009-01-30 16:43:32 +0000
committerHeath Caldwell <hncaldwell@gentoo.org>2009-01-30 16:43:32 +0000
commita6c772172e6b219ecacd2404780f0dd9cce8541d (patch)
tree93ea3e8dde07e43e62de5d9f898c6fcd55fe45d9 /app-admin/tenshi/tenshi-0.10-r3.ebuild
parentFix --as-needed bug #247299 (diff)
downloadhistorical-a6c772172e6b219ecacd2404780f0dd9cce8541d.tar.gz
historical-a6c772172e6b219ecacd2404780f0dd9cce8541d.tar.bz2
historical-a6c772172e6b219ecacd2404780f0dd9cce8541d.zip
Added postinst warning about making sure that monitored files are readable by
tenshi user. Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'app-admin/tenshi/tenshi-0.10-r3.ebuild')
-rw-r--r--app-admin/tenshi/tenshi-0.10-r3.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/app-admin/tenshi/tenshi-0.10-r3.ebuild b/app-admin/tenshi/tenshi-0.10-r3.ebuild
index e805ac566ff8..af4862c71601 100644
--- a/app-admin/tenshi/tenshi-0.10-r3.ebuild
+++ b/app-admin/tenshi/tenshi-0.10-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.10-r3.ebuild,v 1.2 2008/12/17 20:34:56 hncaldwell Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tenshi/tenshi-0.10-r3.ebuild,v 1.3 2009/01/30 16:43:32 hncaldwell Exp $
inherit eutils
@@ -50,3 +50,10 @@ src_install() {
newinitd tenshi.gentoo-init tenshi
keepdir /var/lib/tenshi
}
+
+pkg_postinst() {
+ ewarn "The sample config installed to ${ROOT}etc/tenshi/tenshi.conf"
+ ewarn "monitors /var/log/messages which, by default, can not be read"
+ ewarn "by the tenshi user. Make sure that the tenshi user has read"
+ ewarn "permission on all the files that you want tenshi to monitor."
+}