On Monday, February 19, 2024 at 5:32:21 AM UTC-5 [email protected] 
wrote:

Thank you. That solves my problem.
I'm not sure I could go on this post or if I have to open another 
discussion :
I did the upgrade of weewx to 5.0.2-1 and at the end of the upgrade I read :
"The following files might interfere with the init configuration:
  /etc/init.d/weewx
  /etc/systemd/system/weewx.service"
Is it a problem, and if so how could I fix it ?


it should not be a problem, but it might complicate the management of your 
system later.

the file /etc/init.d/weewx *should* be ignored, since your system uses 
systemd.

the file /etc/systemd/system/weewx.service will override the systemd unit 
that was installed by 5.0.2 at /usr/lib/systemd/system/weewx.service

that may or may not be what you want.

i would suggest that you stop weewx, move aside both files, then start 
weewx.  something like this:

sudo systemctl stop weewx
sudo mv /etc/init.d/weewx ~/weewx.rc-old
sudo mv /etc/systemd/system/weewx.service ~/weewx.service-old
sudo systemctl daemon-reload
sudo systemctl start weewx

if there are changes in the old systemd unit that you want to keep, then 
apply them using the .d pattern for overriding a systemd unit.  or just 
leave the /etc/systemd/system/weewx.service file in place.

m

-- 
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/6fa2fce8-c629-4ac6-9413-315cfda93f61n%40googlegroups.com.

Reply via email to