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?