I generally use systemd (instead of init.d), where restart is easy enough.

Here's a good write up on auto restarts:
https://ma.ttias.be/auto-restart-crashed-service-systemd/

On Sun, Nov 20, 2022 at 11:31 AM Billy Jackson <[email protected]> wrote:

> Hi,
>
> If I understand correctly Weewx is using init.d for it's startup script in
> most installations (I use two flavors of ubuntu).
>
> I'd like to auto-restart Weewx on the occasion that I get some types of
> errors.  These occur mostly when I'm doing experimental dev and have code
> that bites the dust with certain infrequent messages that I try to convert
> into loop packets.
>
> Any recommendations?
>
> Billy
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/9b3c9f61-2ff7-4739-b1d1-b192e0e5fe9bn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/9b3c9f61-2ff7-4739-b1d1-b192e0e5fe9bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDkW0qHMvrFEHamkpXhb-Frietrznw1US5DSco9JSfHLA%40mail.gmail.com.

Reply via email to