Using a start script similar to a build script

Is there any risk starting a worker or service using a start script instead of just a one-off command in the dashboard?

Basically I want to have a file at bin/render-start-worker.sh in the repo that contains the bundle exec sidekiq -q Default -c1 so it can be tied to certain builds.

Also should I include set -o errexit similar to the suggestion for the build script?

Hi there, you can absolutely use a script in place of a command and using set -e probably wouldn’t be necessary.

I can see you’ve asked the question about disk also at https://community.render.com/t/maximum-temporary-storage-for-service/4015 - I’ll try and get an answer for you as to what is occurring here.

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.