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

@ -44,6 +44,7 @@ ExecStop=-/usr/bin/docker rm matrix-nginx-proxy
ExecReload=/usr/bin/docker exec matrix-nginx-proxy /usr/sbin/nginx -s reload
Restart=always
RestartSec=30
SyslogIdentifier=matrix-nginx-proxy
[Install]
WantedBy=multi-user.target