Re: [systemd-devel] stop service in 3 steps

2024-11-28 Thread Georg Müller
Am 27.11.24 um 09:55 schrieb Lennart Poettering: SIGABRT has a pretty clear usecase: to abnormally terminate a program while creating a coredump. It seems you want to redefine what SIGABRT is supposed to do? That's quite problematic I would say. What's the rationale for that? Note that systemd

Re: [systemd-devel] stop service in 3 steps

2024-11-27 Thread Lennart Poettering
On Di, 26.11.24 12:06, Georg Müller (georgmuel...@gmx.net) wrote: > Hi all, > > I am currently trying to set up a 3-step kill mode for an application and > this seems not possible with systemd. > > Here is the scenario I a trying to achieve: > > * on 'systemctl stop ...', the service should recei

Re: [systemd-devel] stop service in 3 steps

2024-11-26 Thread Cristian Rodríguez
On Tue, Nov 26, 2024 at 8:06 AM Georg Müller wrote: > > * if, for some reason, the SIGABRT signal handler hangs, > So the signal handler is unsafe..see signal-safety(7) to know what you can do and what you can't.