#1055822 debhelper: support systemd generators

Package:
debhelper
Source:
debhelper
Submitter:
Christoph Anton Mitterer
Date:
2023-11-12 03:03:04 UTC
Severity:
normal
#1055822#5
Date:
2023-11-12 02:58:27 UTC
From:
To:
Hey there.

Would it make sense and be possible for the systemd debhelper programs to
support systemd generators?

I think of something like just copying the file to the right location and
execute a systemd daemon-reload (which debhelper seems to already do on remove
when there are systemd units, but not on configure, so the genertor won't have
excuted).
It could perhaps auto-detect generator files as:
  <package-name>.systemd.generator
or so.


Cheers,
Chris.