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] |
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/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service b/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service index fbc50d3..27d9bfe 100644 --- a/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service +++ b/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service
@@ -4,6 +4,7 @@ [Service] Restart=always ExecStart=/usr/sbin/obmc-phosphor-example-pydbus +Environment="PYTHONUNBUFFERED=1" [Install] WantedBy=multi-user.target