This was fixed in the development branch, to appear in V4, due RSN. If you want to fix your version, here's the diff <https://github.com/weewx/weewx/commit/2a9fc97e776da77a66044c58e81f91c5f445a2ed#diff-5c5fa8bd3042a3e3815da70f6a58dd4e> .
On Mon, Dec 30, 2019 at 8:37 AM Cat22 <[email protected]> wrote: > I am setting up weewx to run under systemd, well, actually i am refining > the unit file. One thing weewxd needs is a way to exit cleanly by a > specified signal with exit code 0 > What it appears to be,at least as far as i can tell, is that any exit is > an error > Can someone who is python savy comment on this and maybe point out to me > how i can get a clean exit code 0 when i do a "systemctl stop weewx"? > Right now i see that in the systemd journal there is a trace back for > sigint and sighup (are there other signals weewx can catch that will > produce a different result? > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/aea8c2e3-db15-4b77-b53e-18670c550791%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/aea8c2e3-db15-4b77-b53e-18670c550791%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECn0C1YN7et4st6RTJv00RMz_Gcvwgv4rhL6wwHSF%3DEMg%40mail.gmail.com.
