Set up the service monitoring for the log migration script. Add a database migration to add the logs_archived column.
This commit is contained in:
parent
b55e79e5d3
commit
353da13b16
5 changed files with 38 additions and 1 deletions
2
conf/init/buildlogsarchiver/log/run
Executable file
2
conf/init/buildlogsarchiver/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec svlogd /var/log/buildlogsarchiver/
|
8
conf/init/buildlogsarchiver/run
Executable file
8
conf/init/buildlogsarchiver/run
Executable file
|
@ -0,0 +1,8 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting build logs archiver worker'
|
||||
|
||||
cd /
|
||||
venv/bin/python -m workers.buildlogsarchiver
|
||||
|
||||
echo 'Diffs worker exited'
|
Reference in a new issue