commit: 3c4d8ebb651ea2e3c70ea179b67fa77ca159a1e9
Author: Tomas Fabrizio Orsi <torsi <AT> fi <DOT> uba <DOT> ar>
AuthorDate: Wed Sep 6 01:27:06 2023 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 6 17:09:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4d8ebb
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 <torsi <AT> fi.uba.ar>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
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 71791b7ee3dd..5d70784a26c8 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 <user>"
+ elog
+ elog "For more information, visit the wiki page:"
+ elog "https://wiki.gentoo.org/wiki/Cron"
+}