From 2170760d64de11ac025cbf2d3a6d54dd55867e63 Mon Sep 17 00:00:00 2001 From: "Fabian P. Schmidt" Date: Sun, 19 Feb 2017 23:43:34 +0100 Subject: [PATCH] ogn-decode.service: Set StandardInput to tty This is a workaround for #11: Version 0.2.5 crashs with SEGV if invoked by systemd, since ogn-decode exits when it gets an EOF via stdin. --- scripts/ogn-decode.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ogn-decode.service b/scripts/ogn-decode.service index f2374e3..79a5f32 100644 --- a/scripts/ogn-decode.service +++ b/scripts/ogn-decode.service @@ -3,6 +3,8 @@ Description=Decode ogn/flarm data given by a fifo and forward it to glidernet.or After=network.target time-sync.target [Service] +StandardInput=tty +StandardOutput=journal User=ogn ExecStart=/usr/bin/ogn-decode /etc/rtlsdr-ogn.conf Restart=on-failure