Re: [systemd-devel] Require a systemd.unit to finish completely before other services(units) are started

2016-04-25 Thread Andrei Borzenkov
On Tue, Apr 26, 2016 at 9:27 AM, george Karakou wrote: > Hi list, how are you all? I hope everyone is doing well. > I have a long starting unit that executes some(many actually) scripts and > with the parallel nature of systemd init process it doesn't fully start up > before some other units i hav

[systemd-devel] Require a systemd.unit to finish completely before other services(units) are started

2016-04-25 Thread george Karakou
Hi list, how are you all? I hope everyone is doing well. I have a long starting unit that executes some(many actually) scripts and with the parallel nature of systemd init process it doesn't fully start up before some other units i have starting after it. Meaning "After=" directives in [Unit] s

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-25 Thread Andrei Borzenkov
25.04.2016 19:53, Reindl Harald пишет: > > > Am 22.04.2016 um 17:07 schrieb Reindl Harald: >> Am 22.04.2016 um 17:03 schrieb Lennart Poettering: >>> On Thu, 21.04.16 10:32, Reindl Harald (h.rei...@thelounge.net) wrote: >>> > Thanks. The man page says: > >> If this is used and the serv

[systemd-devel] cpu quota reset to -1?

2016-04-25 Thread Mrunal Patel
We are using systemd scopes in docker on RHEL. As per advice on this list, we added Delegate=true to those scopes as we are managing the cgroups under the scopes in custom code. One thing that we are seeing is sometimes the value in cpu.cfs_period_us is seemingly reset to -1 even though we write a

Re: [systemd-devel] Fwd: Stopping a service at a specific time or after a specific duration

2016-04-25 Thread Reindl Harald
Am 22.04.2016 um 17:07 schrieb Reindl Harald: Am 22.04.2016 um 17:03 schrieb Lennart Poettering: On Thu, 21.04.16 10:32, Reindl Harald (h.rei...@thelounge.net) wrote: Thanks. The man page says: If this is used and the service has been active for longer than the specified time it is termina

Re: [systemd-devel] Journal Log Persistence without restart of service

2016-04-25 Thread Lennart Poettering
On Sun, 24.04.16 21:54, Renjith Vijayan (renjith...@gmail.com) wrote: > Hi All, > > I am trying to make journal logs persistent across reboots in my platform. > Currently /var/log is mounted on volatile partition in the platform. > I have a non-volatile partition mounted at /var/diagnostics. > So

Re: [systemd-devel] Journal Log Persistence without restart of service

2016-04-25 Thread Lennart Poettering
On Mon, 25.04.16 06:43, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > Could somebody point out what needs to be done to make it persistent > > without the restart of systemd-journald service? > > Send SIGUSR1 to journald. journalctl --flush is equivalent to this, and probably what should be