bundles/matrix-synapse: ensure we're logging to journal
This commit is contained in:
parent
e754b68f06
commit
33d42e2472
2 changed files with 32 additions and 2 deletions
|
@ -1,7 +1,15 @@
|
|||
files = {
|
||||
'/etc/matrix-synapse/homeserver.yaml': {
|
||||
'content_type': 'mako',
|
||||
'context': node.metadata['matrix-synapse'],
|
||||
'context': node.metadata.get('matrix-synapse'),
|
||||
'needs': {
|
||||
'pkg_apt:matrix-synapse-py3',
|
||||
},
|
||||
'triggers': {
|
||||
'svc_systemd:matrix-synapse:restart',
|
||||
},
|
||||
},
|
||||
'/etc/matrix-synapse/log.yaml': {
|
||||
'needs': {
|
||||
'pkg_apt:matrix-synapse-py3',
|
||||
},
|
||||
|
@ -31,7 +39,7 @@ files = {
|
|||
# Our override.conf ensures this file is never read, so we don't
|
||||
# need to restart synapse after changing stuff in here.
|
||||
'content_type': 'mako',
|
||||
'context': node.metadata['matrix-synapse'],
|
||||
'context': node.metadata.get('matrix-synapse'),
|
||||
},
|
||||
'/etc/matrix-synapse/conf.d/report_stats.yaml': {
|
||||
# see comment above
|
||||
|
@ -42,6 +50,7 @@ svc_systemd = {
|
|||
'matrix-synapse': {
|
||||
'needs': {
|
||||
'file:/etc/matrix-synapse/homeserver.yaml',
|
||||
'file:/etc/matrix-synapse/log.yaml',
|
||||
'file:/etc/systemd/system/matrix-synapse.service.d/override.conf',
|
||||
'pkg_apt:matrix-synapse-py3',
|
||||
'postgres_db:synapse',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue