Commit Graph

402 Commits

Author SHA1 Message Date
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
Matthew Wall
86afe571ff changelog is appended to the spec, so offset the label to help make that clear 2023-12-03 20:43:42 -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
70d7bab5b4 explicit version numbers in intermediate config files. use pkg-specific logrotate. put systemd stuff in lib not etc. 2023-12-03 11:29:57 -05:00
Matthew Wall
5008a0b92f parameterize user/group. put version number into the intermediate config filenames. explicit license and doc tags. 2023-12-03 11:18:31 -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
Matthew Wall
5811a07b48 added rh9 to the repo. still need to keep the rh7 repo information and packages, even when there will be no more rh7 rleases 2023-12-02 08:01:26 -05:00
Matthew Wall
e2c84f613c rpm (like deb) wants package-installed systemd stuff in /lib/systemd not /etc/systemd. install logrotate configuration so that multi requires less configuration. escape percents in extension migration timestamp. fix path in user dir macro. 2023-12-01 21:36:51 -05:00
Matthew Wall
d2fada1aff add ignores for rpmlint 2023-12-01 21:33:17 -05:00
matthew wall
985e5f05ba address lintian errors and warnings, add overrides for those we will not address 2023-12-01 18:39:21 -05:00
matthew wall
c58cff4098 no shebang in example driver, especially not one with an explicit path to /usr/bin/python. keep lintian happy. 2023-12-01 18:37:22 -05:00
matthew wall
f490706ac2 use https for weewx.com 2023-12-01 18:00:51 -05:00
matthew wall
b06e585375 keep things under 80 columns as per the debian policy 2023-12-01 18:00:22 -05:00
matthew wall
398d252b26 consolidate solaris configs. current implementation is only for post-install, using pip, so smf is only in the weewx_data area. 2023-11-29 08:25:56 -05:00
matthew wall
0ee2ad6aaf added rules to migrate extensions from v4 to v5 location 2023-11-28 16:06:53 -05:00
matthew wall
bd6330b311 update deb/rpm changelogs for b16 2023-11-28 14:46:47 -05:00
Matthew Wall
d95348603c no more support for rh8, since there are no configobj, cheetah, pillow, serial, or usb packaged for the python38 or python39 (or python3.11?) packages for redhat 8 2023-11-25 11:54:28 -05:00
Matthew Wall
067a487734 put extensions in /etc/weewx/bin/user 2023-11-24 22:34:52 -05:00
Matthew Wall
d092ff6fec require at least python 3.7 2023-11-24 16:47:22 -05:00
Matthew Wall
7f75536465 fix a few paths. emit python version for debugging pre-compile 2023-11-24 11:33:46 -05:00
Matthew Wall
ddc9e34daa fix the weectl invocations in weewx.spec 2023-11-24 11:22:33 -05:00
Matthew Wall
ee93c283fc fix the files listings 2023-11-24 10:38:25 -05:00
Matthew Wall
04a290a74f added weewx.weewx ownership 2023-11-24 09:39:35 -05:00
Matthew Wall
d0e017c104 fix rh config spec 2023-11-24 08:02:40 -05:00
Matthew Wall
529e4a9a7f match changes to debian packaging in the rh packaging 2023-11-23 22:05:22 -05:00
matthew wall
5ed504f56d make USER_ROOT explicit in the config file 2023-11-23 21:25:31 -05:00
matthew wall
07c31b2647 use RuntimeDirectory instead of putting pid in /var/lib/weewx (which is safer). might have to revisit this, depending on when systemd changed compatibility. 2023-11-23 12:03:23 -05:00
matthew wall
db84baa668 wrestling with systemd, permissions, and logging 2023-11-23 11:55:49 -05:00
matthew wall
19b67b0fb9 wrestling with systemd, permissions, and logging 2023-11-23 11:45:03 -05:00
matthew wall
8cc85ade5a make formatting consistent 2023-11-23 11:44:32 -05:00
matthew wall
f10ff9d175 make feedback messages consistent 2023-11-23 09:57:44 -05:00
matthew wall
b9b828402d eliminate init.d references (for now). parameterize the weewx user labels and permissions. 2023-11-23 08:35:05 -05:00
mwall
e9e47e0100 adjustments to the debian installer. run as weewx user. install udev rules for core drivers. remove unused cruft. 2023-11-22 22:25:46 -05:00
mwall
bb00ea5be8 extensions.py is now in /etc/weewx tree 2023-10-29 23:31:50 -04:00