Skip to content

Commit 2170760

Browse files
committed
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.
1 parent 228440e commit 2170760

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/ogn-decode.service

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Description=Decode ogn/flarm data given by a fifo and forward it to glidernet.or
33
After=network.target time-sync.target
44

55
[Service]
6+
StandardInput=tty
7+
StandardOutput=journal
68
User=ogn
79
ExecStart=/usr/bin/ogn-decode /etc/rtlsdr-ogn.conf
810
Restart=on-failure

0 commit comments

Comments
 (0)