Is there any way to tell dpkg/apt that you are running a weewx-multi via systemd?

76 views
Skip to first unread message

Cameron D

unread,
Feb 11, 2024, 7:59:59 AM2/11/24
to weewx-user
The problems I am seeing are:

An upgrade does not automatically stop the running services - I try to manually stop them first, but occasionally I do not even notice a new weewx among the other packages.

I have standard weewx config as a simulator, so it does not matter if it runs, but I prefer it not to. However, if I mask the weewx service, then dpkg configure fails and tries to complete configuration every time it runs.
If I disable weewx.service, then dpkg always re-enables it and starts it.

I can see that if a sysV-init version is running, then the scripts could presumably handle it, but is there a way to configure the system so the install scripts know to do something different for a multi-system?

matthew wall

unread,
Feb 11, 2024, 9:05:10 AM2/11/24
to weewx-user
hi cameron,

i'm working on this, hopefully to appear in the 5.0.3 release (or 5.1 if tom and gary are faster on their work to other parts of weewx).

redhat has one convention, debian has a different convention.  on top of that, we are trying to (1) migrate any sysv installations on an obviously systemd system, (2) continue to support sysv installations where no systemd exists, and (3) respect any weewx-multi installations, whether they are sysv or systemd.

m

Cameron D

unread,
Feb 11, 2024, 10:18:55 PM2/11/24
to weewx-user
Thanks Matthew,
I just wasn't sure if I was missing something with my eccentric installation.
Cameron.
Reply all
Reply to author
Forward
0 new messages