OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/docker/worker

13 lines
300 B

#!/bin/bash -e
if [ "$1" = "--seed" ]; then
shift
echo "Executing database migration and database seed..."
bundle exec rake db:migrate db:seed
if [ "$1" = "--set" ]; then
shift
echo "Update application settings..."
bundle exec rake setting:set["$@"]
fi
fi
exec bundle exec rake jobs:work