Re: Recommended shutdown method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 04.03.20 um 20:48 schrieb Jay.Burger@xxxxxxxxxxx:
> I have a debate going on over which is the best way to recommend to
> 
> a development organization how to design a service shutdown. There are two
> 
> camps.
> 
> 1.       Use the ExecStop with an additional process that needs to ipc
> to the services
> 
> main pid and wait for a response.
> 
> 2.       Use the SigTerm that systemd sends to the main pid which can
> use a “quit” flag
> 
> that the main process will use to shutdown.

SIGTERM because you need to handle it anyways
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux