On Tue, Oct 15, 2019 at 6:26 AM Michael Biebl <[email protected]> wrote:
> 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? We'd like to isolate the process, and specify non-default IO and CPU weights. Something very similar to this: https://github.com/scylladb/scylla/blob/master/dist/common/systemd/scylla-server.slice , which is explained in more detail here: https://www.scylladb.com/2019/09/25/isolating-workloads-with-systemd-slices/ ` Is this a package shipped in Debian so we could have a look? > Nope, it's a private package, unfortunately. 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. > Got it! Thanks so much for your help. > > Michael > -- > Why is it that all of the instruments seeking intelligent life in the > universe are pointed away from Earth? > > -- - David
