From 393157da89ce3df31f4019e5d70e52fcf6bd9cce Mon Sep 17 00:00:00 2001 From: Max Magorsch Date: Wed, 12 Feb 2020 23:26:31 +0100 Subject: Don't install a crontab in the containers Signed-off-by: Max Magorsch --- bin/first-run | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/first-run b/bin/first-run index f850cc8..5fbe671 100755 --- a/bin/first-run +++ b/bin/first-run @@ -11,10 +11,5 @@ bundle exec rake webpacker:compile RAILS_ENV=production bundle exec rake kkuleomi:index:init RAILS_ENV=${1:-development} ./bin/update-all.sh ${1:-development} -if [[ "${1:-development}" == "production" ]] -then - crontab -l | { cat; echo "*/10 * * * * /var/www/packages.gentoo.org/htdocs/bin/update-all.sh ${1:-development}"; } | crontab - -fi - # Finally start the http server when the index is initialized bundle exec thin start -p 5000 \ No newline at end of file -- cgit v1.2.3-65-gdbad