aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-02-16 18:54:06 +0100
committerMax Magorsch <arzano@gentoo.org>2020-02-16 19:30:33 +0100
commit2b12dd102b0abc038851b38d5f8780fc2e51563d (patch)
tree4e025afda5b3b4972f02d683db1d0ebd43a732ea /bin/first-run
parentRemove piwik from p.g.o (diff)
parentDon't install a crontab in the containers (diff)
downloadpackages-5-9.0.1.tar.gz
packages-5-9.0.1.tar.bz2
packages-5-9.0.1.zip
Merge branch 'dev/main'v9.0.1
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'bin/first-run')
-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