You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
625 B

  1. [Unit]
  2. Description=Suspend/Resume Running libvirt Guests
  3. Wants=libvirtd.service
  4. Requires=virt-guest-shutdown.target
  5. After=network.target
  6. After=time-sync.target
  7. After=libvirtd.service
  8. After=virt-guest-shutdown.target
  9. Documentation=man:libvirtd(8)
  10. Documentation=https://libvirt.org
  11. [Service]
  12. EnvironmentFile=-@sysconfdir@/sysconfig/libvirt-guests
  13. # Hack just call traditional service until we factor
  14. # out the code
  15. ExecStart=@libexecdir@/libvirt-guests.sh start
  16. ExecStop=@libexecdir@/libvirt-guests.sh stop
  17. Type=oneshot
  18. RemainAfterExit=yes
  19. StandardOutput=journal+console
  20. TimeoutStopSec=0
  21. [Install]
  22. WantedBy=multi-user.target