On 20/07/2018 10:32, Jan Panteltje wrote:
> On a sunny day (Fri, 20 Jul 2018 10:21:23 +0100) it happened Harry Bloomfield
> wrote in :
>
>> I have my R Pi 3 B+ on my LAN, with latest NOOBS, setup to download
>> weather via USB from my weather station and present it as a webpage.
>> During the early hours, I have the Pi configured to do a reboot and
>> reload the software for the weather - that works fine.
>>
>> What I have found, is that if I also reboot via the GUI reboot option,
>> it also loads the weather interface software and it carries on as
>> normal
>>
>> If instead, I type at the command line 'reboot', it doesn't reload the
>> weather software. I have to manually load it all in.
>
> Where did you specify the starting of your weather software?
> In
> /etc/rc.local
> or in
> ~/.xinitrc
>
> For it to start when no GUI is present use /etc/rc.local
>
>
Since systemd reared its ugly head, I've found rc.local unreliable. For
"stuff" that I want to start at boot I now use a crontab file in
/etc/cron.d using @reboot as the time to run.
--
Chris Elvidge, England
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|