2011-07-07 14:45:07 +01:00
|
|
|
[Unit]
|
2016-09-05 18:59:58 +02:00
|
|
|
Description=Suspend/Resume Running libvirt Guests
|
2016-10-07 10:10:42 +02:00
|
|
|
Wants=libvirtd.service
|
2016-10-14 10:13:48 +03:00
|
|
|
Requires=virt-guest-shutdown.target
|
2016-09-05 19:04:30 +02:00
|
|
|
After=network.target
|
|
|
|
After=time-sync.target
|
|
|
|
After=libvirtd.service
|
2016-10-14 10:13:48 +03:00
|
|
|
After=virt-guest-shutdown.target
|
2014-01-08 19:55:19 +01:00
|
|
|
Documentation=man:libvirtd(8)
|
2017-10-13 16:30:41 +01:00
|
|
|
Documentation=https://libvirt.org
|
2011-07-07 14:45:07 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=-/etc/sysconfig/libvirt-guests
|
|
|
|
# Hack just call traditional service until we factor
|
|
|
|
# out the code
|
2012-10-20 22:29:51 -04:00
|
|
|
ExecStart=@libexecdir@/libvirt-guests.sh start
|
|
|
|
ExecStop=@libexecdir@/libvirt-guests.sh stop
|
2012-07-27 17:01:04 +02:00
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2012-08-21 17:03:40 +02:00
|
|
|
StandardOutput=journal+console
|
2015-11-17 08:39:46 +01:00
|
|
|
TimeoutStopSec=0
|
2011-07-07 14:45:07 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|