Re: [systemd-devel] [systemd.service] TCP listen port conflict resolution / explicit erring?

2017-05-03 Thread Alec Taylor
Hmm, maybe I'll chuck: X-Listen-Port X-Listen-Name On all the generated SystemD units. Okay, will rewrite to use .socket files. Is there a trick to overcoming the PATH issue which avoids launching bash? On Tue, May 2, 2017 at 10:11 PM, Lennart Poettering wrote: > On Mon, 01.05.17 13:57, Alec T

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

2017-05-03 Thread Lennart Poettering
On Wed, 03.05.17 22:57, Florian Kerle (flo.ke...@gmx.at) wrote: > Hi Lennart, > > it's correct, that checksums are not suitable to recover a file; > BUT when using btrfs RAID, checksums are used to determine which copy of the > file is malformed. > (and restore it, if any redundant OK copy exist

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 an

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: > 1;4601;0c > > Using 230/231:

[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 w

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 > > > > PHP70@.service

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: > https://www.freedesktop.org/soft

[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: https://www.freedesktop.org/softwa

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 E