Route all of the logging through syslog-ng. Add the ability to specify extra syslog-ng config. Simplify the Dockerfile.
This commit is contained in:
parent
b1537a01aa
commit
24cf27bd12
32 changed files with 32 additions and 46 deletions
2
conf/init/service/notificationworker/log/run
Executable file
2
conf/init/service/notificationworker/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec logger -i -t notificationworker
|
8
conf/init/service/notificationworker/run
Executable file
8
conf/init/service/notificationworker/run
Executable file
|
@ -0,0 +1,8 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting notification worker'
|
||||
|
||||
cd /
|
||||
venv/bin/python -m workers.notificationworker
|
||||
|
||||
echo 'Notification worker exited'
|
Reference in a new issue