Split the runit services into interactive and batch categories.
This commit is contained in:
parent
1e2ed16439
commit
572eeca8f5
47 changed files with 0 additions and 0 deletions
14
conf/init/service/batch/buildmanager/run
Executable file
14
conf/init/service/batch/buildmanager/run
Executable file
|
@ -0,0 +1,14 @@
|
|||
#! /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.
|
||||
QUAYPATH=${QUAYPATH:-"."}
|
||||
cd ${QUAYDIR:-"/"}
|
||||
export PYTHONPATH=$QUAYPATH
|
||||
exec venv/bin/python -m buildman.builder 2>&1
|
||||
|
||||
echo 'Internal build manager exited'
|
Reference in a new issue