Thanks.
Well I tried to disable the 2 files as you suggest, but I have some special 
changes in my old weewx.service and it did'nt work.
So I move back my weewx.service

Le lundi 19 février 2024 à 13:55:52 UTC+1, matthew wall a écrit :

> 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/e2423078-d121-4a43-a0e8-af45664212c3n%40googlegroups.com.

Reply via email to