lancer openwebrx au demarrage du raspberry

Main forum to discuss RTL-SDR related topics.
Post Reply
f4ctb
Posts: 4
Joined: Wed Dec 27, 2017 6:25 pm

lancer openwebrx au demarrage du raspberry

Post by f4ctb » Sun Dec 31, 2017 4:43 pm

bonjour

comment démarrer openwebrx au démarrage de raspbian sur le raspberry

merci pour vos astuces

Joel

tim_rtd
Posts: 93
Joined: Fri Jun 30, 2017 11:34 am

Re: lancer openwebrx au demarrage du raspberry

Post by tim_rtd » Sun Dec 31, 2017 9:40 pm

Joel, I have a solution, but I'm not anywhere near an expert. I'm sure there is a more elegant solution out there
I use an app called tmux. It's an extension of term. I started using it when using rtl_tcp.
Command line for /etc/rc.local

sudo -H -u pi tmux new -d -s openwebrx-session 'bash -c "cd /home/pi/openwebrx-uhf; ./openwebrx.py; bash"'
sudo -H -u pi tmux new -d -s openwebrx-session1 'bash -c "cd /home/pi/openwebrx-20m; ./openwebrx.py; bash"'
sudo -H -u pi tmux new -d -s openwebrx-session2 'bash -c "cd /home/pi/openwebrx-40m; ./openwebrx.py; bash"'
exit 0

There will be a million people that say you don't need the sudo.


Tim
I'm also using rasp jessie I believe
.

Post Reply