From f41bf2a92fab6ffcea48d8b295c04ace4d2fa7ff Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 5 May 2017 07:50:52 -0400 Subject: [PATCH] Set SyslogIdentifier for uwsgi processes Now that we aren't using native journal messages by default, the syslog identifier of all the uwsgi processes is the same. We should be more explicit with those. Change-Id: Id5406d02407b022d4016517c2e18890973876d88 --- functions-common | 1 + 1 file changed, 1 insertion(+) diff --git a/functions-common b/functions-common index 90f540017c..c3f37b9493 100644 --- a/functions-common +++ b/functions-common @@ -1463,6 +1463,7 @@ function write_uwsgi_user_unit_file { mkdir -p $SYSTEMD_DIR iniset -sudo $unitfile "Unit" "Description" "Devstack $service" + iniset -sudo $unitfile "Service" "SyslogIdentifier" "$service" iniset -sudo $unitfile "Service" "User" "$user" iniset -sudo $unitfile "Service" "ExecStart" "$command" iniset -sudo $unitfile "Service" "Type" "notify"