Browse code

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

Sean Dague authored on 2017/05/05 20:50:52
Showing 1 changed files
... ...
@@ -1463,6 +1463,7 @@ function write_uwsgi_user_unit_file {
1463 1463
     mkdir -p $SYSTEMD_DIR
1464 1464
 
1465 1465
     iniset -sudo $unitfile "Unit" "Description" "Devstack $service"
1466
+    iniset -sudo $unitfile "Service" "SyslogIdentifier" "$service"
1466 1467
     iniset -sudo $unitfile "Service" "User" "$user"
1467 1468
     iniset -sudo $unitfile "Service" "ExecStart" "$command"
1468 1469
     iniset -sudo $unitfile "Service" "Type" "notify"