[PATCH] libvirtd: systemd: add special target for system shutdown

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

 



AFAIU we don't need special actions on rpm update to switch to using
virt-guest-shutdown.target. Domains started before update will
stay depend upon libvirt-guests.service, newly started domains
will depend upon virt-guest-shutdown.target. On reboot/shutdown
systemd will order stopping both old and new domains after
libvirt-guests.service.

Nikolay Shirokovskiy (1):
  libvirtd: systemd: add special target for system shutdown

 daemon/Makefile.am                | 4 ++++
 daemon/virt-guest-shutdown.target | 3 +++
 libvirt.spec.in                   | 1 +
 src/util/virsystemd.c             | 4 ++--
 tools/libvirt-guests.service.in   | 2 ++
 5 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100644 daemon/virt-guest-shutdown.target

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux