summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Fabrizio Orsi <torsi@fi.uba.ar>2023-09-05 22:27:06 -0300
committerMike Gilbert <floppym@gentoo.org>2023-09-06 13:09:34 -0400
commit3c4d8ebb651ea2e3c70ea179b67fa77ca159a1e9 (patch)
treedb81cab3db77c4dc66423f238f7954e48ca51bae /sys-process/cronbase
parentsys-process/cronbase: Updated wiki from No_homepage to Cron (diff)
downloadgentoo-3c4d8ebb651ea2e3c70ea179b67fa77ca159a1e9.tar.gz
gentoo-3c4d8ebb651ea2e3c70ea179b67fa77ca159a1e9.tar.bz2
gentoo-3c4d8ebb651ea2e3c70ea179b67fa77ca159a1e9.zip
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@fi.uba.ar> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-process/cronbase')
-rw-r--r--sys-process/cronbase/cronbase-0.3.7-r10.ebuild9
1 files changed, 9 insertions, 0 deletions
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"
+}