parent
59e8905aed
commit
e1f955a3f6
5 changed files with 147 additions and 0 deletions
2
conf/init/service/logrotateworker/log/run
Executable file
2
conf/init/service/logrotateworker/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec logger -i -t logrotateworker
|
8
conf/init/service/logrotateworker/run
Executable file
8
conf/init/service/logrotateworker/run
Executable file
|
@ -0,0 +1,8 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting log rotation worker'
|
||||
|
||||
cd /
|
||||
venv/bin/python -m workers.logrotateworker
|
||||
|
||||
echo 'Log rotation worker exited'
|
Reference in a new issue