diff options
author | Matt Turner <mattst88@gmail.com> | 2020-10-03 23:41:59 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2020-10-03 23:46:52 -0700 |
commit | faf488e04683970f912d857a99ea481808011350 (patch) | |
tree | c74a7f762c9e72081302c0aa28b8ea2c1088ca95 /mqtt-notify.service | |
parent | 4731c2addfef06909f88f9cc551546b278fa40ca (diff) |
mqtt-notify.service: Set PYTHONUNBUFFERED=1
This ensures that the prints appear in journald.
Diffstat (limited to 'mqtt-notify.service')
-rw-r--r-- | mqtt-notify.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mqtt-notify.service b/mqtt-notify.service index 6a5c7f5..6e53ce1 100644 --- a/mqtt-notify.service +++ b/mqtt-notify.service @@ -5,6 +5,7 @@ Wants=network-online.target nss-lookup.target [Service] Type=simple +Environment=PYTHONUNBUFFERED=1 ExecStart=%h/bin/mqtt-notify.py -c %E/%p/config [Install] |