Re: [systemd-devel] Systemd, cgroups and short-lived processes

2017-05-03 Thread Lennart Poettering
On Wed, 03.05.17 18:02, Boris Dolgov (bo...@dolgov.name) wrote: > Hello! > > I am using systemd and repeatedly need to do the following: > - Start a process with memory limit and cpu affinity; > - Be notified when it and all its children are finished (typically in > 0.01-1 second); > - Get cpu

Re: [systemd-devel] [ANNOUNCE] systemd 219

2017-05-03 Thread Florian Kerle
On Wed, 18.02.15 06:22, Andrei Borzenkov (arvidjaar at gmail.com ) wrote: >/В Wed, 18 Feb 2015 01:14:44 +0100 />/Zbigniew Jędrzejewski-Szmek > пишет: />//>/> On Tue, Feb 17,

Re: [systemd-devel] EnableUnitFiles / DisableUnitFiles

2017-05-03 Thread Chris Trobridge
> From: Lennart Poettering > Sent: 03 May 2017 14:45 > To: Chris Trobridge > Cc: systemd-devel@lists.freedesktop.org > Subject: Re: [systemd-devel] EnableUnitFiles / DisableUnitFiles >   > On Tue, 02.05.17 08:38, Chris Trobridge (christrobri...@hotmail.com) wrote: >

[systemd-devel] Systemd, cgroups and short-lived processes

2017-05-03 Thread Boris Dolgov
Hello! I am using systemd and repeatedly need to do the following: - Start a process with memory limit and cpu affinity; - Be notified when it and all its children are finished (typically in 0.01-1 second); - Get cpu and memory usage statistics. Cgroups look perfect for me, but what is the best

Re: [systemd-devel] template service unit include.d directory

2017-05-03 Thread Anoop Alias
Thanks. Scheme - /etc/systemd/system/PHP70@somet hing.service.d/ works! On Wed, May 3, 2017 at 7:58 PM, Tomasz Torcz wrote: > On Wed, May 03, 2017 at 07:51:45PM +0530, Anoop Alias wrote: > > Hi, > > > > I am trying to include extra config for a template service file

Re: [systemd-devel] template service unit include.d directory

2017-05-03 Thread Tomasz Torcz
On Wed, May 03, 2017 at 07:51:45PM +0530, Anoop Alias wrote: > Hi, > > I am trying to include extra config for a template service file > > PHP70@.service > > ## > > I created /etc/systemd/system/PHP70@.service.d/something.d/test.conf > > According to the doc: >

[systemd-devel] template service unit include.d directory

2017-05-03 Thread Anoop Alias
Hi, I am trying to include extra config for a template service file PHP70@.service ## I created /etc/systemd/system/PHP70@.service.d/something.d/test.conf But systemctl start PHP70@something.service does not include the file test.conf According to the doc:

Re: [systemd-devel] template service unit include.d directory

2017-05-03 Thread Silvio Knizek
Am Mittwoch, den 03.05.2017, 19:51 +0530 schrieb Anoop Alias: > Hi, > > I am trying to include extra config for a template service file > > PHP70@.service > > ## > > I created /etc/systemd/system/PHP70@.service.d/something.d/t > est.conf > > But > > systemctl start PHP70@something.service >

Re: [systemd-devel] EnableUnitFiles / DisableUnitFiles

2017-05-03 Thread Lennart Poettering
On Tue, 02.05.17 08:38, Chris Trobridge (christrobri...@hotmail.com) wrote: 1;4601;0c > Using 230/231: > > > I just switched from using the systemd Unit interface to control services via > dbus to using the systemd Manager interface so that I could control access > via polkit-1. > > > Using