A community member has wrote a patch that substantially improves reportupdater handling of PID files.
See: T173604 and https://gerrit.wikimedia.org/r/c/analytics/reportupdater/+/623470/
Now, the code makes use of Python3's pid library, which is currently not available from an-launcher1002.
The pid lib needs to be debianized and added to the stat machines for the reportupdater improvement to work.
Some links that might help:
- https://wikitech.wikimedia.org/wiki/Git-buildpackage#How_to_build_a_Python_deb_package_using_git-buildpackage
- https://github.com/wikimedia/puppet/tree/production/modules/package_builder#introduction
And some examples: https://gerrit.wikimedia.org/r/admin/repos/q/filter:operations%252Fdebs%252Fpython