#! /bin/bash
echo 'Starting internal build manager'
# Run monit to ensure the build manager is restarted if/when it locks up.
monit
# Run the build manager.
cd /
exec TROLLIUSDEBUG=1 venv/bin/python -m buildman.builder 2>&1
echo 'Internal build manager exited'