From 81ee5dc15892ffc8222bb64745c71a33e390eb9c Mon Sep 17 00:00:00 2001 From: msilmser <32716062+msilmser@users.noreply.github.com> Date: Wed, 17 Jan 2024 09:35:57 -0500 Subject: [PATCH] Added SyslogIdentifier line to help show pulpcore-worker messages in syslog. --- roles/pulp_workers/templates/pulpcore-worker@.service.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/pulp_workers/templates/pulpcore-worker@.service.j2 b/roles/pulp_workers/templates/pulpcore-worker@.service.j2 index 887d593ea..5902d6350 100644 --- a/roles/pulp_workers/templates/pulpcore-worker@.service.j2 +++ b/roles/pulp_workers/templates/pulpcore-worker@.service.j2 @@ -23,6 +23,9 @@ WorkingDirectory=/var/run/pulpcore-worker-%i/ RuntimeDirectory=pulpcore-worker-%i LimitNOFILE=524288 +# Labels pulpcore-worker messages in syslog appropriately +SyslogIdentifier=pulpcore-worker-%i + {% if __pulpcore_version is version('3.14', '>=') -%} ExecStart={{ __pulp_daemons_dir }}/pulpcore-worker {%- else -%}