Elukey has submitted this change and it was merged.

Change subject: Set SyslogIdentifier in Pivot's systemd unit
......................................................................


Set SyslogIdentifier in Pivot's systemd unit

This change allows rsyslog to properly recognize the :programname
value even for services run by firejail.

Bug: T138262
Change-Id: I5c83734ce482b45e8f17e4cb7849d5534c361759
---
M modules/pivot/templates/initscripts/pivot.systemd.erb
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Elukey: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/pivot/templates/initscripts/pivot.systemd.erb 
b/modules/pivot/templates/initscripts/pivot.systemd.erb
index c7361e2..063c320 100644
--- a/modules/pivot/templates/initscripts/pivot.systemd.erb
+++ b/modules/pivot/templates/initscripts/pivot.systemd.erb
@@ -14,6 +14,7 @@
 TimeoutStopSec=60
 WorkingDirectory=<%= @pivot_deployment_dir %>
 ExecStart=/usr/bin/firejail --profile=/etc/firejail/pivot.profile -- 
/usr/bin/nodejs <%= @pivot_deployment_dir %>/src/bin/pivot -p <%= @port %> -d 
<%= @druid_broker %>
+SyslogIdentifier=pivot
 
 [Install]
 WantedBy=multi-user.target
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/315222
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c83734ce482b45e8f17e4cb7849d5534c361759
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <ltosc...@wikimedia.org>
Gerrit-Reviewer: Elukey <ltosc...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to