Perhaps this setting (link) <https://unix.stackexchange.com/questions/564443/what-does-restart-on-abort-mean-in-a-systemd-service> is something to try if you want to experiment and let us know if it works…
On Monday, March 25, 2024 at 3:11:41 PM UTC-7 Thomas Hackler wrote: > thank you for the answer, then it was maybe soemthing wrong with the wifi > > does it make sense to increase the attempts before exit ? > > I try to find something to check if the process is running > I have some experience with monit, so maybe I find an example or anything > else > > > vince schrieb am Montag, 25. März 2024 um 22:09:58 UTC+1: > >> I have also seen my gw1000 weewx setup abort on the pi4 occasionally when >> the wifi network bounces for some reason. Mine's been up for 6 weeks now >> so it is definitely a transient kind of thing. >> >> Writing yourself a little cron job to look for the weewxd process and if >> it's not there restart it wouldn't be too tough to do. Perhaps there is >> some systemd configuration magic that is possible, but I'm not sure there >> what a safe+effective way to leverage systemd would look like. I know how >> cron works :-) >> >> On Monday, March 25, 2024 at 1:56:10 PM UTC-7 Thomas Hackler wrote: >> >>> Hello, >>> my weewx stopped yesterday unexpected. The last logs are attached. It >>> ran stable for over 1 week. I have restarts of my raspberry pi with cron >>> every 1 or 2 days. What is the reason that the gw1000 driver has suddenly a >>> problem? How can I avoid it in future? Should I increase the attemps if >>> there is a short problem with the wifi connection? >>> It is a problem of my gw1000 device? I see no problems with the ecowitt >>> app. >>> Thank you! >>> Regards >>> Thomas >>> >> -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/0ad581b5-8ae0-4d26-84e3-bbf6c87cbdecn%40googlegroups.com.