[systemd-devel] Cannot get Shutdown Script to Run (Libvirt Virtual Machine Shutdown)

Lennart Poettering lennart at poettering.net
Thu Oct 9 07:26:47 PDT 2014


On Thu, 09.10.14 12:14, Jóhann B. Guðmundsson (johannbg at gmail.com) wrote:

> 
> On 10/08/2014 11:41 PM, Lennart Poettering wrote:
> >TODO list to allow services also when they have no ExecStart= but with
> >an ExecStop=, but this has not been implemented yet.
> 
> What's the usecase for this behaviour?

Precisely cases like the one described earlier in this thread: when
you want to run something only at shutdown, properly ordered against
other units that are also shut down.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list