Use SyslogIdentifier to improve logging

Reasoning is the same as for matrix-org/synapse#5023.

For us, the journal used to contain `docker` for all services, which
is not very helpful when looking at them all together (`journalctl -f`).
This commit is contained in:
Slavi Pantaleev
2019-05-16 09:41:45 +09:00
parent cf3117011b
commit ae7c8d1524
15 changed files with 37 additions and 2 deletions

View File

@ -58,6 +58,7 @@ ExecStop=-/usr/bin/docker rm matrix-synapse
ExecReload=/usr/bin/docker exec matrix-synapse kill -HUP 1
Restart=always
RestartSec=30
SyslogIdentifier=matrix-synapse
[Install]
WantedBy=multi-user.target