diff --git a/containers/zammad/docker-entrypoint.sh b/containers/zammad/docker-entrypoint.sh index 83bee73..c718e60 100755 --- a/containers/zammad/docker-entrypoint.sh +++ b/containers/zammad/docker-entrypoint.sh @@ -157,7 +157,7 @@ if [ "$1" = 'zammad-scheduler' ]; then echo "starting background services..." - exec bundle exec script/background-services.rb start + exec bundle exec script/background-worker.rb start fi diff --git a/containers/zammad/setup.sh b/containers/zammad/setup.sh index 7aaae66..4d0c5a3 100755 --- a/containers/zammad/setup.sh +++ b/containers/zammad/setup.sh @@ -44,7 +44,7 @@ if [ "$1" = 'builder' ]; then bundle install sed -e 's#.*adapter: postgresql# adapter: nulldb#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: zammad-postgresql\n#g' < contrib/packager.io/database.yml.pkgr > config/database.yml sed -i "/require 'rails\/all'/a require\ 'nulldb'" config/application.rb - sed -i 's/.*scheduler_\(err\|out\).log.*//g' script/background-services.rb + sed -i 's/.*scheduler_\(err\|out\).log.*//g' script/background-worker.rb touch db/schema.rb bundle exec rake assets:precompile rm -r tmp/cache