Wow - impressive, and quite customized. Amazing report skin as well. I should probably do something similar with the "other way" so it's documented as well.
On Sun, Mar 27, 2022 at 5:40 AM [email protected] <[email protected]> wrote: > i have created a cookbook at > https://weather.geddy.id.au/weewx-systemd.html on how i create multiple > instances (vp2, gw1000 and another for reporting) for my platform needs > (debian, systemd, run-as-weewx, weewx-ramdisk) in the hope of influencing > how matthew implements weewx-multi within weewx product, acknowledging > matthew is looking to also support other os flavours, legacy rc subsystem, > etc.. also, handy to jog my memory too! > cheers > > On Friday, 25 March 2022 at 1:14:19 pm UTC+11 [email protected] wrote: > >> using systemd, i start weewx instances independently. my [email protected] >> file uses the unit name as the weewx conf file e.g. # systemctl start >> weewx@gw1000 → starts ‘weewxd gw1000.conf’ (and similarly for pidfiles >> etc). i also keep separate logs for instances e.g. weewxd gw1000.conf >> —log-name=weewx-gw1000 with rsyslog routing weewx-gw1000 to >> /var/log/weewx/gw1000.log. >> you can wildcard the unit name e.g. # systemctl status weewx@* >> ⊣ *Graham Eddy* ⊢ >> >> On 25 Mar 2022, at 3:19 am, matthew wall <[email protected]> wrote: >> >> finally, it is my intent to push the capabilities of weewx-multi into the >> 'standard' weewx init.d script, and make the package installers detect >> whether to deploy an rc script or a systemd unit file. that is complicated >> by the fact that (1) there are (were) different conventions for init >> scripts on redhat vs debian vs suse vs *bsd, and (2) we now have to keep >> systemd happy too, which means doing a variation of the weewx unit file >> that has weewx-multi capabilities (perhaps kinda like openvpn has done). >> >> > -- 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/CAMwKJEpJBdc23BWaCHN%3DtQ%3DVG%2BG0RZ2s7QPEVRVNCS0p5Q-1mA%40mail.gmail.com.
