From faf488e04683970f912d857a99ea481808011350 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 3 Oct 2020 23:41:59 -0700 Subject: mqtt-notify.service: Set PYTHONUNBUFFERED=1 This ensures that the prints appear in journald. --- mqtt-notify.service | 1 + 1 file changed, 1 insertion(+) (limited to 'mqtt-notify.service') 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] -- cgit v1.2.3