Re: [systemd-devel] Exception safety od sd-bus

2021-07-27 Thread Lennart Poettering
On Do, 22.07.21 14:04, Stanislav Angelovič (angelovi...@gmail.com) wrote: > Hi guys! > > Assuming sd-bus is used in a C++ application, is sd-bus safe against > exceptions flying from e.g. a sd-bus vtable callback handler (provided by > the C++ application) and catching them in the caller of sd_bus

Re: [systemd-devel] systemd-devel Digest, Vol 135, Issue 24

2021-07-27 Thread Weatherby,Gerard
Making the service reliable will require updating the clients of the service to retry the connection for some period of time while the service restarts. -- Message: 4 Date: Tue, 27 Jul 2021 12:12:43 +0300 From: Mantas Mikul?nas To: Francis Moreau Cc: SystemD Devel S

Re: [systemd-devel] How to restart my socket activated service safely ?

2021-07-27 Thread Mantas Mikulėnas
On Tue, Jul 27, 2021 at 10:10 AM Francis Moreau wrote: > > Hello, > > During my application update, I want to restart my service which is > activated by a socket but want to be sure that no request sent to my > service will be missed. I also want to restart the socket too so > systemd uses the lat

[systemd-devel] How to restart my socket activated service safely ?

2021-07-27 Thread Francis Moreau
Hello, During my application update, I want to restart my service which is activated by a socket but want to be sure that no request sent to my service will be missed. I also want to restart the socket too so systemd uses the latest version of the socket unit file. If I restart the socket when th