summaryrefslogtreecommitdiff
path: root/mqtt-notify.service
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2020-10-03 23:41:59 -0700
committerMatt Turner <mattst88@gmail.com>2020-10-03 23:46:52 -0700
commitfaf488e04683970f912d857a99ea481808011350 (patch)
treec74a7f762c9e72081302c0aa28b8ea2c1088ca95 /mqtt-notify.service
parent4731c2addfef06909f88f9cc551546b278fa40ca (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.service1
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]