[systemd-devel] Antw: [EXT] Re: Q: daemon-reload: when and how?

2020-06-18 Thread Ulrich Windl
>>> Simon McVittie schrieb am 18.06.2020 um 16:42 in Nachricht <27143_1592491364_5EEB7D64_27143_46_1_20200618144233.GA644073@horizon>: > On Thu, 18 Jun 2020 at 11:01:59 +0200, Jérémy ROSEN wrote: >> multiple unit files need to work together to make a working environment, and >> systemd can't know

Re: [systemd-devel] Q: daemon-reload: when and how?

2020-06-18 Thread Simon McVittie
On Thu, 18 Jun 2020 at 11:01:59 +0200, Jérémy ROSEN wrote: > multiple unit files need to work together to make a working environment, and > systemd can't know when all changes are consistent and > it is safe to reload. So systemd will want an explicit order from the user. Also, reloading is

[systemd-devel] Antw: Re: [EXT] Re: Q: daemon-reload: when and how?

2020-06-18 Thread Ulrich Windl
>>> Jérémy ROSEN schrieb am 18.06.2020 um 15:02 in Nachricht : [...] > (i'm not sure what you mean by "batch" in this context. this is about > creating a unit, not some > kind of shell-script-like language) "batch" is an "at job" that starts immediately... Regards, Ulrich

Re: [systemd-devel] [EXT] Re: Q: daemon-reload: when and how?

2020-06-18 Thread Jérémy ROSEN
Le jeu. 18 juin 2020 à 12:44, Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> a écrit : > >>> Jérémy ROSEN schrieb am 18.06.2020 um 11:01 in > Nachricht > > <19710_1592470931_5EEB2D93_19710_59_1_CAFvCimXJwvDg0+5W11H0pUh+EHDTGxgbAuAGpG2PL > gjc0i...@mail.gmail.com>: > > Le jeu. 18 juin 2020 à

[systemd-devel] Antw: [EXT] Re: Q: daemon-reload: when and how?

2020-06-18 Thread Ulrich Windl
>>> Jérémy ROSEN schrieb am 18.06.2020 um 11:01 in Nachricht <19710_1592470931_5EEB2D93_19710_59_1_CAFvCimXJwvDg0+5W11H0pUh+EHDTGxgbAuAGpG2PL gjc0i...@mail.gmail.com>: > Le jeu. 18 juin 2020 à 08:53, Ulrich Windl < > ulrich.wi...@rz.uni-regensburg.de> a écrit : > >> Hi! >> >> I have a question:

Re: [systemd-devel] Q: daemon-reload: when and how?

2020-06-18 Thread Jérémy ROSEN
Le jeu. 18 juin 2020 à 08:53, Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> a écrit : > Hi! > > I have a question: systemd monitors almost everything it seems to me. So I > wonder: > Under what conditions is it necessary to issue a daemon-reload, and why > can't systemd find out itself that a

Re: [systemd-devel] Systemd killed processes of custom services instead of graceful shutdown

2020-06-18 Thread Kamal Rathi
>- ExecStop command returns before application is actually stopped. >ExecStop must be synchronous, systemd assumes service is stopped when >ExecStop command completes Correct, and yes i finally figure out what service i have to make grid and rdbms dependent so that applicaiton shutdown will

[systemd-devel] Q: daemon-reload: when and how?

2020-06-18 Thread Ulrich Windl
Hi! I have a question: systemd monitors almost everything it seems to me. So I wonder: Under what conditions is it necessary to issue a daemon-reload, and why can't systemd find out itself that a daemon-reload is required? So if I think a "manual" daemon-reload is required, is it safe to do it