diff options
author | 2020-02-12 23:26:31 +0100 | |
---|---|---|
committer | 2020-02-12 23:26:31 +0100 | |
commit | 393157da89ce3df31f4019e5d70e52fcf6bd9cce (patch) | |
tree | 4e025afda5b3b4972f02d683db1d0ebd43a732ea | |
parent | Don't recreate the ES-index by default (diff) | |
download | packages-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-x | bin/first-run | 5 |
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 |