This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/conf/init/service/buildmanager/run
Joseph Schorr 72fdf93d29 Add monit-based monitoring of build manager
Should catch when the build manager freezes and restart it
2016-11-02 14:14:07 -04:00

12 lines
No EOL
264 B
Bash
Executable file

#! /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'