Web lists-archives.com

Re: Questions about packaging systemd unit files




On Mon, 2018-08-06 at 09:14 -0400, Theodore Y. Ts'o wrote:
[...]
> One of the reasons why I hadn't considered using dh_installinit or
> dh_installsystemd is because the patches submitted upstream for
> e2scrub[1] currently install the systemd unit as part of Makefile
> rules.  I could move them out of Makefile install rules into the
> debian directory, but that would be kind of a pain, and would mean
> trying to keep the files in the debian directory in sync with the ones
> in the upstream source directory.
[...]

dh_installsystemd(1) says: "It also finds the service files installed
by a package…" which implies to me that it will operate on services
that were already installed as well as those specified in the debian/
directory.  The manual page is not that clear on whether it will
operate on other types of already installed unit file, but it does
appear to do so.

Ben.

-- 
Ben Hutchings
Larkinson's Law: All laws are basically false.

Attachment: signature.asc
Description: This is a digitally signed message part