mysociety/alaveteli

View on GitHub
script/update-xapian-index

Summary

Maintainability
Test Coverage
#!/bin/bash

# If we get a SIGTERM, send a SIGKILL to our children before exiting.
trap 'kill -KILL $(jobs -p); wait; exit 0;' SIGTERM

cd `dirname $0`
bundle exec rake --silent xapian:update_index "$@" &
wait