Rework the config to use runit logging.
This commit is contained in:
parent
334b4634d7
commit
212a4650f4
29 changed files with 58 additions and 165 deletions
2
conf/init/webhookworker/log/run
Executable file
2
conf/init/webhookworker/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec svlogd -t /var/log/webhookworker/
|
8
conf/init/webhookworker/run
Executable file
8
conf/init/webhookworker/run
Executable file
|
@ -0,0 +1,8 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting webhook worker'
|
||||
|
||||
cd /
|
||||
venv/bin/python -m workers.webhookworker
|
||||
|
||||
echo 'Webhook worker exited'
|
Reference in a new issue