Add monit-based monitoring of build manager
Should catch when the build manager freezes and restart it
This commit is contained in:
parent
a2fbe1d6c0
commit
72fdf93d29
3 changed files with 27 additions and 2 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
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 /
|
||||
TROLLIUSDEBUG=1 venv/bin/python -m buildman.builder 2>&1
|
||||
exec TROLLIUSDEBUG=1 venv/bin/python -m buildman.builder 2>&1
|
||||
|
||||
echo 'Internal build manager exited'
|
Reference in a new issue