Report processor worker refactored to run under another user (nobody) and have its own mysql credentials.
This commit is contained in:
parent
c3edf42ada
commit
2ac89f3365
13 changed files with 159 additions and 204 deletions
18
workers/reports/config/default.toml
Normal file
18
workers/reports/config/default.toml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Process title visible in monitoring logs and process listing
|
||||
title="mailtrain"
|
||||
|
||||
# Default language to use
|
||||
language="en"
|
||||
|
||||
[log]
|
||||
# silly|verbose|info|http|warn|error|silent
|
||||
level="verbose"
|
||||
|
||||
[mysql]
|
||||
host="localhost"
|
||||
user="mailtrain"
|
||||
password="mailtrain"
|
||||
database="mailtrain"
|
||||
port=3306
|
||||
charset="utf8mb4"
|
||||
timezone="local"
|
7
workers/reports/config/production.toml
Normal file
7
workers/reports/config/production.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
[log]
|
||||
level="verbose"
|
||||
|
||||
[mysql]
|
||||
user="mailtrain_ro"
|
||||
password="S6Woc9hwWiV9RsWt"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue