From 3c4d8ebb651ea2e3c70ea179b67fa77ca159a1e9 Mon Sep 17 00:00:00 2001 From: Tomas Fabrizio Orsi Date: Tue, 5 Sep 2023 22:27:06 -0300 Subject: [PATCH] sys-process/cronbase: Added elog message about the cron group ... and how to add a user to said group. Signed-off-by: Tomas Fabrizio Orsi Signed-off-by: Mike Gilbert --- sys-process/cronbase/cronbase-0.3.7-r10.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys-process/cronbase/cronbase-0.3.7-r10.ebuild b/sys-process/cronbase/cronbase-0.3.7-r10.ebuild index 71791b7ee3dd5..5d70784a26c8e 100644 --- a/sys-process/cronbase/cronbase-0.3.7-r10.ebuild +++ b/sys-process/cronbase/cronbase-0.3.7-r10.ebuild @@ -25,3 +25,12 @@ src_install() { keepdir /var/spool/cron/lastrun } + +pkg_postinst() { + elog "To add a user to the cron group so it can create cron jobs, run:" + elog + elog " usermod -a -G cron " + elog + elog "For more information, visit the wiki page:" + elog "https://wiki.gentoo.org/wiki/Cron" +}