add a log rotation worker

Fixes #609.
This commit is contained in:
Jimmy Zelinskie 2015-10-09 15:41:56 -04:00
parent 59e8905aed
commit e1f955a3f6
5 changed files with 147 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
exec logger -i -t logrotateworker

View file

@ -0,0 +1,8 @@
#! /bin/bash
echo 'Starting log rotation worker'
cd /
venv/bin/python -m workers.logrotateworker
echo 'Log rotation worker exited'