Skip to content

Commit

Permalink
ogn-decode.service: Set StandardInput to tty
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kerel-fs committed Feb 19, 2017
1 parent 228440e commit 2170760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/ogn-decode.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2170760

Please sign in to comment.