From cf0f59706487a0f552688ed300cd813c045f1e1d Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Wed, 29 Nov 2017 17:31:45 -0800 Subject: [PATCH] jobd: refer to jobd.pl not jobd.sh There hasn't been anything other than a jobd.sh shim that forwards to jobd.pl for over seven years. Avoid referring to the outdated shim and use the correct (for seven years now) name jobd.pl. Signed-off-by: Kyle J. McKay --- INSTALL | 2 +- README | 2 +- install.sh | 4 ++-- jobs/README | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL b/INSTALL index 4368fb5..5968054 100644 --- a/INSTALL +++ b/INSTALL @@ -25,7 +25,7 @@ make sure taskd.pl is kept running. At any rate, you will need to periodically call jobd maintenance job that will refresh mirrored repositories, but also repack all repositories. You -can either just keep jobd.sh running (good if you have large amount +can either just keep jobd.pl running (good if you have large amount of repositories), or add a special invocation (advised by make install) to your crontab. diff --git a/README b/README index 20452bb..a097e44 100644 --- a/README +++ b/README @@ -75,7 +75,7 @@ errors. See INSTALL for details. The installation procedure (especially chroot setup) is tuned for Debian systems, elsewhere you might need to adjust few things. -You should be running jobd.sh at all times - it will periodically check +You should be running jobd.pl at all times - it will periodically check all the repositories and check if any need garbage collection, but also update them if the mirroring mode is enabled. diff --git a/install.sh b/install.sh index bbaf4d7..d9984a7 100755 --- a/install.sh +++ b/install.sh @@ -614,9 +614,9 @@ chown -R -h "$cfg_mirror_user""$owngroup" "$basedir"/bin if [ -n "$cfg_mirror" ]; then echo "--- Remember to start $cfg_basedir/taskd/taskd.pl" fi -echo "--- Also remember to either start $cfg_basedir/jobd/jobd.sh, or add this" +echo "--- Also remember to either start $cfg_basedir/jobd/jobd.pl, or add this" echo "--- to the crontab of $cfg_mirror_user (adjust frequency on number of repos):" -echo "*/30 * * * * /usr/bin/nice -n 18 $cfg_basedir/jobd/jobd.sh -q --all-once" +echo "*/30 * * * * /usr/bin/nice -n 18 $cfg_basedir/jobd/jobd.pl -q --all-once" echo "*** Setting up repository root..." diff --git a/jobs/README b/jobs/README index ff1ce6b..c172011 100644 --- a/jobs/README +++ b/jobs/README @@ -6,7 +6,7 @@ to crontab and usually run the main scripts iteratively per-repository. list takes too long time when it's not cached; you should call this in an interval of about a half of the cache lifetime (by default 10min). -* jobd/jobd.sh -q --all-once: You should call this to avoid infinitely +* jobd/jobd.pl -q --all-once: You should call this to avoid infinitely growing repositories and refresh mirrored projects if you are not running jobd all the time. * updateweb.sh: run every X minute(s), hour(s), day(s) via cron to -- 2.11.4.GIT