I don't know what I can add to the comments I already made on the issues
list: the --pidfile option is only used if you use the --daemon option.

On Sat, Mar 9, 2024 at 2:19 PM silke <silke4...@gmail.com> wrote:

> Hello,
>
> I recently made the switch to v5 and overall the migration was working
> quite smoothly, despite running many extensions and skins. I'm on Ubuntu
> and use DEB installation.
>
> The one thing that is not working yet is my weewx process health
> monitoring which is based on PID file. I cannot get weewx to create a PID
> file whatever I try. (in v4 this worked out of the box)
>
> I'm adding the --pidfile option to the systemd file, and it shows
> correctly in the process list:
>
> weewx     941451 51.1  8.7 1921212 1415068 ?     Ssl  23:00   3:23 python3
> /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf --pidfile
> /run/weewx/weewx.pid
>
> the folder /run/weewx is owned by weewx:weewx
>
> silke@enterprise:/etc/weewx$ ls -la /run/weewx/
> total 0
> drwxrwxr-x  2 weewx weewx   40 Mär  9 23:00 .
> drwxr-xr-x 50 root  root  1420 Mär  9 23:00 ..
>
> but still, no file is getting created upon restart.
>
> Anyone having an idea what I'm doing wrong?
>
> Thanks a lot, Silke
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/fb454ef9-ae53-4211-bf15-283bd067c567n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/fb454ef9-ae53-4211-bf15-283bd067c567n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBDW6poBOygS%3D5eYNzFUe-jcP5EF7ETO%3D9XGjxcixRi2Q%40mail.gmail.com.

Reply via email to