23 Commits

Author SHA1 Message Date
Jens J.
6450e75003 Udev rules fix for acurite stations on newer kernels
Added a workaround to unbind the hid-generic driver for Acurite devices on newer kernels, due to buggy Acurite hid implementation.

Issue widely reported with newer kernels on weewx-user list, e.g. https://groups.google.com/g/weewx-user/c/0Jiye8CmtLE/m/Bob4QRxzAgAJ
2026-04-12 12:46:42 -05:00
Matthew Wall
69336c795a use lower-case for product and vendor ids in udev rules 2024-04-01 20:20:18 -04:00
Tom Keffer
83b16a7a48 Fix udev typo 2024-03-25 08:50:40 -07:00
Tom Keffer
6eb73a6608 Add target network-online.target to the weewx systemd unit files
Prevents `weewxd` from starting until the network is ready.
2024-02-07 12:54:49 -08:00
matthew wall
5c23a23518 remove redundant udev rules. added comments about udevadm. 2024-01-13 08:58:25 -05:00
matthew wall
a91c9c7a71 use 24c0 instead of 24C0 for acurite udev rules 2024-01-12 22:01:52 -05:00
Matthew Wall
3389e900ae defaults are generated on the fly now, not from template 2024-01-07 13:09:42 -05:00
Matthew Wall
0367c167a9 as per debian guidelines, put the daemon stop in prerm, but the daemon removal in postrm. ensure that both systemd and sysv work on debian systems, for both deb and pip installs. try to keep lintian happy, but it seems to have differences between deb10 and deb12. 2024-01-01 21:48:55 -05:00
Matthew Wall
940eff463d use journal+console not syslog+cosole 2023-12-21 19:31:22 -05:00
matthew wall
b2c424c485 complete the revert to system logging facility, no splitting out of weewx messages to separate file. logrotate and rsyslog conf files are now robust so that they can be enabled by symlinks if user wants it - documented in the wiki 2023-12-21 08:37:03 -05:00
Matthew Wall
277bbc91e2 distinguish stdout and stderr in systemd units because it matters 2023-12-18 21:36:31 -05:00
Matthew Wall
557e552855 revert to ATTRS for now - i found the idProduct and idVendor attributes only only for ATTRS not ATTR, contrary to experience of weewx user michael...@gmx.at 2023-12-18 13:39:30 -05:00
Matthew Wall
daac696b45 use ATTR instead of ATTRS for the udev rules so we match device not parent 2023-12-18 08:56:43 -05:00
matthew wall
25793d6d38 simplify the systemd unit templates, and make comments appropriate for their deployments 2023-12-08 19:18:16 -05:00
matthew wall
d27c797e3d put all weewx log messages into a single file 2023-12-06 17:56:05 -05:00
matthew wall
4ac9744479 added template unit file for doing weewx-multi using systemd. simplify the unit files used by deb/rpm. 2023-12-04 09:03:12 -05:00
Matthew Wall
63fcc03bb4 enable/disable the systemd template 2023-12-03 22:20:40 -05:00
Matthew Wall
7ad03e7ba1 .include is deprecated already, so we have to duplicate code for the named instances 2023-12-03 20:42:58 -05:00
Matthew Wall
05c700d38b adjust permissions on weewx-owned directories 2023-12-03 16:35:56 -05:00
Matthew Wall
9416bfa16a use generic rsyslog conf 2023-12-03 11:30:37 -05:00
Matthew Wall
70b583a47f use type simple instead of forking 2023-12-03 09:41:26 -05:00
Matthew Wall
1db45a1f5b simplify - no need to over-specify requirements 2023-12-02 14:47:43 -05:00
Matthew Wall
df67c38959 added a parameterixed unit that inherits from the standard unit. use system config files from pkg directory instead of trying to match/adapt those in weewx_data/util, which serve different purpose. 2023-12-02 10:23:03 -05:00