On Thursday, October 11, 2018 at 1:51:12 PM UTC-7, Phil Green wrote:
>
> My question, I would like to stop Weewx from auto starting, but still use:-
> sudo /etc/init.d/weewx start
> To start Weewx manually.  

The reason I ask is that I have a real-time clock on my system but 
> sometimes Weewx starts before the time is correct. 
> I then stop Weewx and then start it manually and all things are fine. 
>
>
What version are you running ? 
Recent weewx versions should already delay startup until you get accurate 
system time.

That said:

To get the status:

pi@zero:~ $ sudo systemctl status weewx
● weewx.service - weewx weather system
   Loaded: loaded (/etc/systemd/system/weewx.service; *enabled*; vendor 
preset: enabled)
   Active: active (running) since Sun 2018-10-07 11:23:13 PDT; 4 days ago

 
See the 'enabled' there ?

To disable:

pi@zero:~ $ sudo systemctl disable weewx
Removed /etc/systemd/system/multi-user.target.wants/weewx.service.


And verify it shows disabled....

pi@zero:~ $ sudo systemctl status weewx
● weewx.service - weewx weather system
   Loaded: loaded (/etc/systemd/system/weewx.service; *disabled*; vendor 
preset: enabled)
   Active: active (running) since Sun 2018-10-07 11:23:13 PDT; 4 days ago


But you shouldn't have to do that at all if you're running a recent weewx 
version.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to