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
9
conf/init/service/batch/logrotateworker/run
Executable file
9
conf/init/service/batch/logrotateworker/run
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting log rotation worker'
|
||||
|
||||
QUAYPATH=${QUAYPATH:-"."}
|
||||
cd ${QUAYDIR:-"/"}
|
||||
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.logrotateworker
|
||||
|
||||
echo 'Log rotation worker exited'
|
Reference in a new issue