Systemd slices support with dh_installsystemd

Michael Biebl biebl at debian.org
Tue Oct 15 12:26:23 BST 2019


On 15.10.19 00:30, David Castillo wrote:
> Hi!
> 
> I'm currently working on packaging an application which runs as a
> systemd service within a slice. 

Is there a specific reason for using a dedicated slice?
What exactly is the use case here?
Is this a package shipped in Debian so we could have a look?
Typically, services are run in the system.slice.

Installing the .service files was
> straightforward, but I found that dh_installsystemd doesn't support
> .slice files, according to the man page
> <https://manpages.debian.org/testing/debhelper/dh_installsystemd.1.en.html>.

It doesn't, that's correct.

> I wanted to know if there's a recommended method to do it (I ended up
> including it in our .install file), and if there's a reason for .slices
> not being supported.

Installing via .install is fine, I'd say.

So far there simply hasn't been a demand / use case for supporting
.slice units in dh_installsystemd.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191015/6940ae9b/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list