aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-02-12 23:26:31 +0100
committerMax Magorsch <arzano@gentoo.org>2020-02-12 23:26:31 +0100
commit393157da89ce3df31f4019e5d70e52fcf6bd9cce (patch)
tree4e025afda5b3b4972f02d683db1d0ebd43a732ea
parentDon't recreate the ES-index by default (diff)
downloadpackages-5-393157da89ce3df31f4019e5d70e52fcf6bd9cce.tar.gz
packages-5-393157da89ce3df31f4019e5d70e52fcf6bd9cce.tar.bz2
packages-5-393157da89ce3df31f4019e5d70e52fcf6bd9cce.zip
Don't install a crontab in the containers
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rwxr-xr-xbin/first-run5
1 files changed, 0 insertions, 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