commit | bcdc060b1229dee43279229e6944f3bacd46bb4e | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jun 28 18:21:00 2016 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Jun 29 10:19:14 2016 -0400 |
tree | 8682c7a6aa3b175104288e417559c3855840f09a | |
parent | 384ad1e045011e557ffadef8cdb46c82e81ca522 [diff] [blame] |
Set PYTHONUNBUFFERED for systemd managed python This lets python scripts print to the journal. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service b/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service index a78c86b..8612b98 100644 --- a/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service +++ b/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service
@@ -6,6 +6,7 @@ [Service] Restart=always ExecStart=/usr/sbin/obmc-rest +Environment="PYTHONUNBUFFERED=1" [Install] WantedBy=multi-user.target