I'm fairly new to Linux, so excuse me when I'm asking the obvious.
I'm using ARMbian 5.25 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i on a Orange Pi Zero, RTL-SDR and DireWolf
When I execute from prompt:
rtl_fm -f 144.80M - | direwolf -c sdr.conf -r 24000 -D 1 -
Everything starts up as it should. But as I'm planning to use a headless setup, some self sustaining feature after power failure or whatnot is necessary.
I figured out how to configure a cronjob and it starts a shell script when the software is not running.
In that shellscript I'm using:
DWCMD="bash -c 'rtl_fm -f 144.80M - | direwolf -c sdr.conf -r 24000 -D 1 -'"
and executing the script while using "top" I see bash popping up but nothing else, as I'm using:
DWCMD="$DIREWOLF -a 100"
and executing the script, DireWolf pops up on "top" as it should
I've been poking around the web for a while now, but seem not to be able to figure this one out myself.
When someone can give this newb some pointers, I would be great full.