Add run commands for backfill worker
This commit is contained in:
parent
03ea3a3250
commit
f2d50b3f8e
3 changed files with 16 additions and 1 deletions
4
conf/init/service/batch/manifestbackfillworker/log/run
Executable file
4
conf/init/service/batch/manifestbackfillworker/log/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Start the logger
|
||||
exec logger -i -t manifestbackfillworker
|
9
conf/init/service/batch/manifestbackfillworker/run
Executable file
9
conf/init/service/batch/manifestbackfillworker/run
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting manifest backfill worker'
|
||||
|
||||
QUAYPATH=${QUAYPATH:-"."}
|
||||
cd ${QUAYDIR:-"/"}
|
||||
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.manifestbackfillworker 2>&1
|
||||
|
||||
echo 'Repository manifest backfill exited'
|
Reference in a new issue