[systemd-devel] systemd shutdown query
Susant Sahani
susant at redhat.com
Tue Oct 6 20:05:55 PDT 2015
On 10/06/2015 06:36 PM, Lennart Poettering wrote:
> On Mon, 05.10.15 15:49, Dushyant Uge (dushyantu2 at gmail.com) wrote:
>
>> Hello there,
>>
>> I have two queries
>>
>> Some processes terminated immediately after writing reboot before reaching
>> systemd unit ExecStop
>
> I am not sure I parse this, but when services are shut down systemd
> won't kill their processes until their ExecStop= is executed, so that
> the code in the ExecStop= can do that on its own. Everything else would
> be a bug.
If it's like ExecStop=su example-user; /sbin/foo .
then is it the same behavior ?
Susant
More information about the systemd-devel
mailing list