One you could use screen, which allows a totally separate screen to be
running in the background.
https://linuxize.com/post/how-to-use-linux-screen/
Here's what I have in /etc/rc.local (on a Raspberry Pi):
screen -S weather_station -d -m sh -c 'weewxd /etc/weewx/weewx.conf;
exec bash'
Then when you log in run: "sudo screen -r" which will re-attach to the
screen session. Once finished type Ctrl+A and then D to detach.
That's one way to do it.
On 2/24/2019 1:20 PM, Henry Denston wrote:
Thank you.
Another question that I would like to ask:
Is there any downside just adding (executing) the sudo ./bin/weewxd
weewx.conf script to the /etc/rc.locatl file?
So my WeeWx installation gets started everytime on startup of my system.
In the Docs this instruction is given:
cd /home/weewx
sudo cp util/init.d/weewx.debian /etc/init.d/weewx
sudo chmod +x /etc/init.d/weewx
sudo update-rc.d weewx defaults 98
sudo /etc/init.d/weewx start
But is there any disadvantage using the method I described above?
Thank you, Henry.
On Friday, February 22, 2019 at 6:04:07 AM UTC+1, gjr80 wrote:
python-pil is used by the WeeWX image generator to
create/manipulate the image file (ie create the image file, draw
points, lines, labels etc). The logic for obtaining the data to be
plotted, working out what goes where and what colours are used etc
are all contained in various WeeWX .py files (imagegenerator.py,
weeplot/genplot.py etc).
Gary
---
This email has been checked for viruses by AVG.
https://www.avg.com