Commit Graph

439 Commits

Author SHA1 Message Date
Matthew Wall
5353b52d45 adjustments for suse packaging 2023-12-23 12:30:34 -05:00
matthew wall
4c7f1bdafe make pkg config status more consistent and less verbose 2023-12-22 08:08:29 -05:00
Matthew Wall
940eff463d use journal+console not syslog+cosole 2023-12-21 19:31:22 -05:00
Matthew Wall
87bc3f3958 start making suse package compliant with suse standards 2023-12-21 18:08:31 -05:00
Matthew Wall
e72f32db64 fixed typo in rpm spec 2023-12-21 17:49:42 -05:00
matthew wall
757fc92fe3 bump to 5.0.0rc1 2023-12-21 17:44:03 -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
8606acadac update redhat rpm lint rules 2023-12-19 20:19:16 -05:00
Matthew Wall
53ea734778 document the config files during install/upgrade for deb/rpm 2023-12-19 19:32:30 -05:00
Matthew Wall
c0b5bdefed update rpm scriptlet comments to reflect config behavior 2023-12-19 16:27:59 -05:00
Matthew Wall
ca73965673 fix typo and logic bug in rpm config creation 2023-12-19 16:22:45 -05:00
Matthew Wall
3c55c9188b do not install rsyslog or logrotate script, but copy them to weewx data so they can be used if user wants to use syslog instead of standalone logging 2023-12-19 10:02:12 -05:00
Matthew Wall
cf060c2bc3 fixed typo in deb rules for log dir 2023-12-18 22:22:56 -05:00
Matthew Wall
9c2e39bc60 update deb/rpm changelogs 2023-12-18 22:13:11 -05:00
Matthew Wall
1c79c355d0 default to standalone logging 2023-12-18 22:10:13 -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
8dfae50076 need the pid1 check in each scriptlet 2023-12-18 20:06:58 -05:00
Matthew Wall
8f92ab2a46 enable el8 package 2023-12-18 18:31:03 -05:00
Matthew Wall
a6268a1a75 added support for redhat8 and suse15 by including the importlib_resources backport of import.resources 2023-12-18 14:15:08 -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
12c04381e1 remove shebangs from driver files 2023-12-18 09:01: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
916a4a239b apparently cheetah on suse15 is available only for python 3.6 (same as rocky8) 2023-12-16 22:04:27 -05:00
Matthew Wall
8f526e868c default to group adm on debian 2023-12-16 21:30:30 -05:00
matthew wall
a3bb393800 update debian changelog 2023-12-15 22:21:22 -05:00
matthew wall
cc32aed96b set permissions properly on /var/log/weewx directory for debian installs 2023-12-15 20:01:27 -05:00
Matthew Wall
e546d93f2f update package changelogs 2023-12-14 08:17:51 -05:00
Matthew Wall
18ae37647d remove bytecompiled code before removal 2023-12-14 08:15:39 -05:00
Matthew Wall
ec4bc4d018 missed a systemctl invocation 2023-12-14 08:11:10 -05:00
Matthew Wall
66342d0498 no need to enable/disable template units 2023-12-14 07:53:12 -05:00
Matthew Wall
e87ad2b5e5 fix typo in config file macro name 2023-12-13 23:08:15 -05:00
Matthew Wall
dfcc55f99b update changelogs for rpm and deb -2 releases 2023-12-13 20:35:04 -05:00
Matthew Wall
20f5b9d18f do not fail on debian systems/environments that do not have systemd 2023-12-13 20:30:47 -05:00
Matthew Wall
7df57fd0c3 do not use systemctl commands if os/environment does not have systemd 2023-12-13 20:12:16 -05:00
Matthew Wall
97baf978f6 fix permissions on weewxd and weectl for rpm packages 2023-12-13 18:36:10 -05:00
matthew wall
e0a26c7186 fixed typo in entry point rule 2023-12-12 19:26:46 -05:00
Matthew Wall
58ca7f136a update deb and rh changelogs 2023-12-12 19:16:01 -05:00
matthew wall
8b2d0bc95c replace BINDIR and PYTHON in the entry points, even though they are replaced by defaults at runtime 2023-12-08 21:39:20 -05:00
matthew wall
2b543f7f65 lintian says we cannot use full path to apps in scripts 2023-12-08 21:21:42 -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
522fc1119f use hyphen not period for conf annotations 2023-12-04 21:17:44 -05:00
matthew wall
594816ea79 use the default(60) priority for udev rules 2023-12-04 16:27:22 -05:00
matthew wall
e71094adf5 need full path to date 2023-12-04 15:52:08 -05:00
matthew wall
1b7a85df3e added rule to update repository index files independently from the repository contents 2023-12-04 12:01:51 -05:00
matthew wall
f6979b2bea update the repository index files 2023-12-04 11:38:32 -05:00
matthew wall
ce69c0ab77 do the init shutdown and disable in prerm instead of postrm 2023-12-04 10:15:13 -05:00
matthew wall
52e71f8af4 changelogs now compressed 2023-12-04 10:14:27 -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