On Tue, Apr 11, 2023 at 09:37:27AM +0200, bi...@debian.org wrote:
> Package: caddy
> Version: 2.6.2-4
> Severity: serious
> Tags: sid bookworm
> User: debhel...@packages.debian.org
> Usertags: systemd-files-in-usr-bookworm
> 
> Dear Maintainer,
> 
> It seems that your package caddy is shipping files (.service, .socket or
> .timer) in /usr/lib/systemd/system.
[...]

The culprit seems to be wrong path at:
https://sources.debian.org/src/caddy/2.6.2-4/debian/caddy.install/#L2-L3

Please note that if you change it to /lib/systemd/system now, you'll
likely need to reverse that change again in the future.

Preferably the correct path is derived from the value given by
pkg-config --variable=systemdsystemunitdir systemd

You could use this via making your debian/caddy.install executable
and integrating dh-exec. You'll have to decide if you think it's
worth it or not.

Regards,
Andreas Henriksson

Reply via email to